We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
User.Read
The instruction says:
Then, copy the full scope (app:///scope) and add it to the scopes array below.
(By the way, markdown will not render the <id> here, so that it shows as "app:///scope" instead of app://<id>/scope...)
<id>
app://<id>/scope
However, I tried
flow = app.initiate_device_flow(scopes=["api://<id>/the-scope", "User.Read"])
as well as
flow = app.initiate_device_flow(scopes=["User.Read", "api://<id>/the-scope"])
but both did not work -- no clain roles and the scope in JWT was only:
roles
{ ... "scp": "openid profile User.Read email", }
Only when I replaced User.Read, the token contained the app roles:
flow = app.initiate_device_flow(scopes=["api://<id>/the-scope"])
{ ... "roles": [ "OpenAI.ChatCompletion" ], "scp": "the-scope", }
The text was updated successfully, but these errors were encountered:
@vieiraae, this may require your expertise.
Sorry, something went wrong.
No branches or pull requests
The instruction says:
(By the way, markdown will not render the
<id>
here, so that it shows as "app:///scope" instead ofapp://<id>/scope
...)However, I tried
as well as
but both did not work -- no clain
roles
and the scope in JWT was only:Only when I replaced
User.Read
, the token contained the app roles:The text was updated successfully, but these errors were encountered: