I am trying to acquire token by aquiretokensilent after login and then have to do authorization in multiple modules.As documentation of MSAL-browser acquiretokensilent will automatically take care of refresh token.In network tab also i am able to see refresh token.But how to use it, does it automatically replace access token or do i need to do something extra and how i can see that refresh token in the console converting to access token after expiry of access token.I have read lot of documents but not got clearity how to use it.

How to use refresh token coming from acquiretoken silent in MSAL-browser
9.1k Views Asked by user3420561 At
1
There are 1 best solutions below
Related Questions in ANGULARJS
- Angular Show All When No Filter Is Supplied
- Using pagination on a table in AngularJS
- State with different subviews
- Getting and passing MVC Model data to AngularJS controller
- Implementing prerender.io middleware in sails.js
- Token based authorization in nodejs/ExpressJs and Angular(Single Page Application)
- AngularJS, Google App Engine and URLrewrite
- send data from table to another page into forms
- How to write tests for classes with inheritance
- angularJS sending OPTIONS instead of POST
- Receiving POST from external application in AngularJS
- Metaprogramming AngularJS Filters
- Reload List after Closing Modal
- Why is my angularjs site not completely crawlable?
- Why is separation of JavaScript and HTML a good practice?
Related Questions in AZURE-ACTIVE-DIRECTORY
- MultipleTokensMatched exception when using default TokenCache
- How can I share Azure Active Directory authentication between server side and client script?
- Azure AD Change Password with patch call
- Azure Active Directory Login: Web App Permissions, User Consent not triggered
- ADALJS Error description:AADSTS65001: No permission to access user information is configured for 'clientId' application, or it is expired or revoked
- app is re-initializing the first time ADAL "protected" URL is accessed via $http
- Validate access token for WEB API protected by Azure AD
- Azure AD Graph API: Is it possible to enumerate all groups associated with an application role?
- Is is possible to use Azure AD as a SAML compliant Identity Provider?
- Microsoft Graph API Accessing basic info of a user that is outside tenancy
- RoundCube OAuth with Azure Active Directory
- Deploy Azure AD WebAPI to IIS, with Windows Authentication enabled, skips Azure AD Authentication
- How to change Is Multiple Resource Refresh Token to true in Azure AD authentication?
- Azure, login to separate accounts with one email
- How to setup nginx to authenticate users through Azure AD?
Related Questions in AZURE-AD-GRAPH-API
- Azure AD B2C - Sign out a user from all sessions
- AAD GraphClient API add membership very slow
- Password for Azure AD User
- Azure AD OpenIDConnect + ASP.NET Core - Authenticate and Extra Permissions/Token?
- Paging in MS Graph API
- How can I define AuthenticationCallback when trying to access access token from refresh token in Adal4j?
- Getting mailNicknames from Azure Active Directory
- Unable to get authentication code from microsoft azure ad graph api
- Microsoft graph explorer - create user & update sign in username /email
- Microsoft Graph - Why permission/scope "Group.ReadWrite.All" is able to do PATCH on user profile properties?
- Azure AD - Deleting an AppRoleAssignment didn't disable the application
- administrator has not consented to use the application -- Azure AD
- Microsoft Graph API Returning "Access Token Validation Error"
- Microsoft Graph API get groups for user gives privileges error
- How to add application to Azure AD programmatically without having any initial clientId registered?
Related Questions in MSAL.JS
- msal.js 2.0 tokenResponse null after loginRedirect
- Azure AD B2C - same user with multiple client accounts
- Is msal 2.0 (msal-browser) auth code flow is supported with Azure AD B2C custom policies?
- How to use msal authentication token in the toolkit?
- How Do I Mock MSAL Authentication?
- acquireTokenSilent fails due to the blockage of third-party cookies
- How do I retrieve the azure b2c account name
- Angular MSAL Library acquireTokenRedirect vs acquireTokenPopup error
- Microsoft single sign on - react-aad-msal library - can't get access token
- Why does the popup for b2c_1_edit_profile disappear?
- Msal.js not authenticating with google - Redirect uri issue
- How do I secure a Web API with Azure AD B2C
- Server Side Rendering failed: ERROR ReferenceError: window is not defined
- Microsoft Sign In Without Browser With Node
- MSAL popup: Is it possible to display only the users from that specific tenant
Related Questions in MSAL-ANGULAR
- MSAL v2 Angular - Logout Issue
- Unable to retrieve roles/groups from Azure B2C
- Angular MSAL Library Concurrency Issues: msal-browser v3.2.0, Angular v16.2
- Error: Uninitialized_public_client_application in angular after version 16 upgrade
- How to access Entra App Roles for an API in a Client
- MSAL protected API scope format
- MSAL:3.0/Angular16: BrowserAuthError: uninitialized_public_client_application: Msal angular Error while calling on page load
- SSO setup with Microsoft Identitiy using msal-browser & msal-react
- Angular MSAL unit test service calling another service
- Angular, ASP.NET Core 6, MSAL Authentication
- app roles not present in returned claims after authenticating from Azure AD B2C using Angular
- Angular 13 MSAL 2.0 & .NET core API: Bearer error="invalid_token", error_description="The signature is invalid"
- Angular 11: Problem at Msal Angular V2 package
- pass ui_locales to Msal Angular Guard
- Msal-Angular v1 - acquireTokenPopup/LoginPopup returns an Access Token with Insufficient Privileges even after granting admin consent
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?
A refresh token is used for renewing an access token or request access tokens with other scopes.
This official doc indicated that how a refresh token renews/requests a new access token and a new refresh token at the base layer.
And yes, you should call
aquiretokensilentbefore API call, if the access token exists and it is not expired, this function will reply the access token to you from local cache directly, if not, it will request a new access token by refresh token from Azure AD. For details, see this doc.