oauth 2.0 – Frontend with more api recorded on AAD (Azure Active Directory)
I’ve a problem with this environment
- Frontend Angular
- MyApi1
- MyApi2
- Sharepoint Online
Each element has an clientid recorded on AAD
Frontend can access to Mypi1 and MyApi2
I want to use the OnBehalfOf to access Sharepoint with MyApi1 (I use Pnp Library)
I need the authenticated user on frontend to be recognized on all environments
I read in other post that I have to request 3 tokens
- token from frontend, with scope MyApi1
- token from frontend, with scope MyApi2
- token from frontend, with scope sharepoint scope
Is there another solution, with only one request?
Read more here: Source link
