Forum Discussion
surigaurav179
Oct 15, 2024Copper Contributor
Is it possible to access Dataverse and Microsoft Graph api by single token using AAD auth?
Is it possible to access Dataverse and Microsoft Graph api by single token using AAD auth?
micheleariis
Oct 24, 2024MCT
Hi, have you considered that to solve the CORS problem and securely obtain access tokens in your Flutter web app, you could avoid using the client credentials flow and include the client secret in the client code? Instead, you could implement the authorization code flow with PKCE using an appropriate authentication library.
surigaurav179
Oct 24, 2024Copper Contributor
In flutter web app i am using this library aad_oauth to generate auth token. But I am trying to generate a separate access token for Graph api, through http request at this time getting CORS issue.