Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add claims parameter in error response #57

Closed
kpanwar opened this issue Apr 6, 2017 · 2 comments
Closed

Add claims parameter in error response #57

kpanwar opened this issue Apr 6, 2017 · 2 comments
Assignees
Milestone

Comments

@kpanwar
Copy link

kpanwar commented Apr 6, 2017

I noticed that only error and error_description are being bubbled up back to the developer when STS returns an error. STS can also return a "claims" value in the JSON response. We need to add support to return it back to the developer.

@danieldobalian
Copy link
Contributor

Example error (currently will be HTTP 400, but may be changed to 401):

HTTP 401; Unauthorized

error=interaction_required

error_description=AADSTS50076: Due to a configuration change made by your administrator, or because you moved to a new location, you must use multi-factor authentication to access '<Web API App/Client ID>'.

claims={"access_token":{"polids":{"essential":true,"Values":["<GUID>"]}}}

@partnerinflight
Copy link
Contributor

this is not needed for objc. We don't expect STS to ever return this error back to a mobile client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants