Open AnuradhaSK opened 8 months ago
This happen only for the started app because, when creating a standard app, the "username" attribute is not set as requested attribute of the application, but for other applications tradintional apps, and SPA "username" attribute is set as requested attribute by default.
The standard app flow works fine for
https://localhost:9443/oauth2/authorize?response_type=code&client_id=Eim_7Wr0qpC6xH5ZO6N_fx4yOpca&redirect_uri=https://example-app.com/redirect&scope=internal_org_user_mgt_delete internal_org_user_mgt_update internal_org_user_mgt_view internal_org_user_mgt_create internal_org_user_mgt_list internal_user_mgt_create internal_user_mgt_view internal_user_mgt_list internal_user_mgt_delete internal_user_mgt_update
kind of only API scopes if the root app has requested at least one claim of the profile scope,
Describe the issue:
Scopes will not be returned.
If you try the same step with a applciation created using traditional web app template / SPA, the flow works fine without openid scope
Expected behavior: Return the relevant scopes even if the openid scope is not requested in the initial request