skip to Main Content

Angular Authentication/Authorisation with Azure AD connecting to .net Core WebAPI

Followed countless tutorials regarding this scenario. https://learn.microsoft.com/en-us/azure/active-directory/develop/scenario-spa-app-registration https://learn.microsoft.com/en-us/samples/azure-samples/ms-identity-ciam-javascript-tutorial/ms-identity-ciam-javascript-tutorial-2-call-api-angular/ We have an Angular front end, talking to a .net core API. We have set up the application in Azure as an SPA, created roles, and assigned users to those roles. We…

VIEW QUESTION

Azure – How get access token for another resource using Microsoft OAuth

The user logs in with https://login.live.com/oauth20_authorize.srf Parameters: client_id=<CLIENT_ID> response_type=code scope=XboxLive.signin offline_access redirect_uri=<REDIRECT_URL> And gets an authorization_code M.R3_BAY.5530f5eb... When using: https://login.live.com/oauth20_token.srf grant_type=authorization_code client_id=<CLIENT_ID> scope=Xboxlive.signin Xboxlive.offline_access code=M.R3_BAY.5530f5eb... redirect_uri=https://localhost/oauth_success client_secret=<CLIENT_SECRET> Getting access_token and refresh_token. I want to use one of these tokens to…

VIEW QUESTION
Back To Top
Search