Questions tagged [azure-oauth2]
5 questions
1
vote
1 answer
Scope User.Read.All not works for azure b2c
I am able to get access token using custom scope user_impersonation.
https://{tenant}.b2clogin.com/xxx.onmicrosoft.com/oauth2/v2.0/authorize?…

baton
- 13
- 3
1
vote
0 answers
How to use azure groups as symfony security roles
Given roles hierarchy defined in security.yml which is used to grant access in our application:
role_hierarchy:
ROLE_COMMERCIAL: [ ROLE_USER ]
ROLE_MANAGER: [ ROLE_USER ]
ROLE_COMMERCIAL_ADMIN: [ ROLE_COMMERCIAL ]
ROLE_MANAGER_ADMIN: […

Medinho
- 193
- 1
- 3
- 10
0
votes
1 answer
Access OAuth response in a custom policy
According docs, if I need include external idp token in a response, I need this code:
Facebook

Anton Putau
- 632
- 1
- 7
- 31
0
votes
1 answer
How to generate Access Token for Azure with grant type password? PowerBI REST API
I want to be able to get access tokens automatically without the need of user interaction (that is manually typing the credentials in an OAuth pop-out).
I'm using grant_type: password for this; however, I'm getting an invalid_grant error, saying the…

Daniel Rivas
- 15
- 4
0
votes
1 answer
MS Graph API Granted Scopes not reflecting in the Access Token
We have a mail integration for MS mailboxes and we use MS Graph API for our integration. We have created an OAuth app and the right Mail scopes have been added to the app, while generating the access token we use the v2 OAuth endpoint mentioned in…