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

How to limit scopes for idToken? #33

Closed
rbinrais opened this issue Apr 21, 2020 · 1 comment
Closed

How to limit scopes for idToken? #33

rbinrais opened this issue Apr 21, 2020 · 1 comment
Labels

Comments

@rbinrais
Copy link

I need guidance on how to set the scope for idToken because I do not need access_token.

Currently, the sample requires scope to be set even for an id_token. The empty scope or the scope of openid is not supported either.

let kScopes: [String] = ["https://ultimatetest1.onmicrosoft.com/Read"] // This is a scope that you've configured your backend API to look for.

It would be helpful to get some guidance.

@oldalton
Copy link
Contributor

oldalton commented May 8, 2020

This is currently not supported, but we have a feature tracking ticket to improve that: AzureAD/microsoft-authentication-library-for-objc#852

Closing as duplicate.

@oldalton oldalton closed this as completed May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants