API service for sso login