I am using @azure/msal-react(v2) and @azure/msal-browser(v3) libraries in react SPA app. I acquire id_token and access_token in my react app. Then, I pass this id_token to my back-end and would like to validate it. Is there a way that I can call Microsoft api to pass this token (along with client_Id and cleint_secret) and it gives me response like user info. So I make sure that this token is valid?
How to validate id_token acquired by msal-react in .Net api
126 Views Asked by Narges Moemenyan At
0
There are 0 best solutions below
Related Questions in OAUTH-2.0
- Not getting refresh token with google oauth2
- SoundCloud Authentication Consistently Returns 401 invalid_grant For Some Users
- How can I share Azure Active Directory authentication between server side and client script?
- OAuth2 and API Json request not working with jQuery Call
- Flask-Restful, oauth, and Salesforce
- Bearer token in MVC controller to access Web API
- Revoking OAuth tokens in Mule
- how to signup user using google-plus integradation in web?
- Need to run getAuthToken twice before receiving access token, why?
- chrome.identity.getAuthToken and refresh token?
- dropbox api authentication (Error: [400] 'invalid_client')
- Retrieve Google Sites's Domain Index feed using OAuth 2.0 with Service Account
- hello.js: Is it possible to set the provider's settings dynamically?
- How to share developer account at LinkedIn
- Linkedin Unsupported POST target
Related Questions in SINGLE-SIGN-ON
- App will throw exception at when I first login when device SSO is enabled
- LDAP user attributes from CAS
- Single Sign On service hangs when configuring it
- Single Sign out in All application using Auth0
- How to logout from Bluemix Single Sign On service?
- How to add users to Cloud Directory via API?
- WSO2 IS - Do a Single Logout using the IdentitySAMLSSOService
- Skip login on MVC 3 application (SSO)
- Service broker error when adding Single Sign On service
- SAML service provider signature verification
- SAML v2 forms auth
- Combining custom application authentication with JAVA EE security. Possible?
- Bluemix Single Sign On service: Node.js code for getting the currently logged in userid?
- Apache - Configuring mod_auth_sspi.so
- Single Sign-On in Windows Applications using AD login
Related Questions in OPENID-CONNECT
- OpenID Connect Account linking
- Authentication with OAuth and JWT but without OpenID Connect
- How to retrieve an OpenID Connect Identity Token from a cookie
- Windows Live Open ID Connect/Oauth 2.0 How to use for SSO with Apache mod_auth_openidc
- Get the user's email address from Azure AD via OpenID Connect
- Validate an Access Token at the Resource Server and Respond Accordingly
- Google OAuth: What do the various fields in id_token stand for?
- Role based Authorization on WebApi Controllers in IdentityServer4?
- Does OpenID Connect support resource sharing
- Manual accesstoken generation using OpenIdConnect Server (ASOS)
- Failing Okta OAuth2 token validation in AspNetCore
- OpenID Connect Standard: Authorized Party azp Contradiction
- Storage of OAuth access tokens in Javascript clients (e.g. Angular)
- Implementing SSO using OpenID Connect and usage of tokens
- Azure AD OpenIDConnect + ASP.NET Core - Authenticate and Extra Permissions/Token?
Related Questions in AZURE-AD-MSAL
- In theory, is it possible for Azure AD or B2C to leverage the Facebook SDK for auth?
- How should I determine if an MSAL account has an Exchange based email system? (got an exception)
- How do I customize the App icon that appears in MSAL v2 myapps.microsoft.com?
- How to use ConfidentialClientApplication to perform AppOnly requests to Graph (Group.ReadWrite.All)
- Can MSAL be used with my own authority (e.g. IdentityServer)
- MSAL with Angular2 : Refused to display in a frame because it set 'X-Frame-Options' to 'deny'
- Azure B2C Refresh Token Functionality Not Working In iOS Swift Sample App
- Stay logged in when using msal.js
- Using MSAL in a machine-to-machine scenario as a CSP
- Unable to locate the refresh token with Microsoft Graph
- Microsoft Graph API .NET - Able to pull all users (including myself), but not just me
- How to make API call to Partner Center from authorized Web API?
- Why does my application always end up calling Program.PublicClientApp.AcquireTokenAsync?
- How to get user information when authenticating with OneDrive SDK
- Native Facebook login and Azure AD B2C using MSAL
Related Questions in MSAL-REACT
- How to create a multi-tenant application in ReactJS with Azure Active Directory and MSAL?
- How to validate id_token acquired by msal-react in .Net api
- msalIns.loginRedirect redirect to login page many times after login successfully
- Error while login with Microsoft Active directory using Reactjs
- Why app react don't work in server dev? Using msal-react
- How to use Microsoft Identity platform to login users on frontend and create users on backend
- SSO setup with Microsoft Identitiy using msal-browser & msal-react
- Authorization code is undefined i msal-react v3
- Microsoft sso login is not logging in the user neither getting details about the account
- msal-browser component in react how to get only a access code
- Page refresh breaks MSAL React instance
- Azure AD B2C with MSAL change redirect url on success
- How to pass custom code_verifier on msal 2.0 for Azure B2C?
- Azure AD restrict users to login if not assigned to aplication without user assignement
- Validating tenant in multitenant React apps using MSAL
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?