Extend the adal-node to msal-node migration docs with info on refresh tokens
See original GitHub issueLibrary
-
msal@1.x.x
or@azure/msal@1.x.x
-
@azure/msal-browser@2.x.x
-
@azure/msal-node@1.x.x
-
@azure/msal-react@1.x.x
-
@azure/msal-angular@0.x.x
-
@azure/msal-angular@1.x.x
-
@azure/msal-angular@2.x.x
-
@azure/msal-angularjs@1.x.x
Documentation location
- docs.microsoft.com
- MSAL.js Github Wiki
- README file
- Other (please fill in)
- Documentation does not exist
Description
One of the biggest points of confusion when migrating from adal-node to msal-node was for me the fact that msal-node (or MSAL in general) no longer exposes refresh tokens. Unless I totally missed it, the migration docs don’t mention this and I found the explanation in one of the issues in the repo. Since this is a big design change for folks coming from adal, it would be helpful to explain it upfront in the migration guidance including what’s the reasoning behind it and how it should be addressed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to migrate a Node.js app from ADAL to MSAL
However, you may use the valid refresh tokens your app obtained previously with ADAL Node in MSAL Node. See the section on refresh...
Read more >MSAL VS ADAL | ID, Access, Refresh Tokens Explained
A big difference with an access token, refresh tokens are long-lived while access tokens are short-lived.
Read more >Can't get refresh token from microsoft oauth, msal node js ...
1 Answer. Save this answer. Show activity on this post. It stores the refresh token in token cache, you can get refresh token...
Read more >Central Repository: org/webjars/npm
babel__plugin-bugfix-v8-spread-parameters-in.../ - - babel__plugin-external-helpers/ - - babel__plugin-proposal-async-generator-funct.
Read more >azure/msal-node
Microsoft Authentication Library for Node (msal-node). npm version codecov. Getting Started · AAD Docs · Library Reference. About; FAQ ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@waldekmastykarz Closing this. In case you have more concerns, please let us know and we can track it as needed.
@waldekmastykarz apologies for delay. I’ve updated the migration guide with how to migrate the still valid refresh tokens and a note on destroying the older adal-node token cache afterwards here. Hope this captures your concern, but let me know!