Converting MSAL Access Token to Hapi JWT token

末鹿安然 提交于 2019-12-24 22:24:40

问题


We're trying to work out how to consume an MSAL access token from a front-end vue.js application on our hapi.js back-end.

Following the documentation for Single Page Applications we are successfully adding the MSAL accessToken to our http requests as a Bearer token. This token can be seen on the back-end if we disable JWT on the API server.

How do we validate the MSAL access token so that we can return a valid JWT token? (secondary question is what is the recommended auth strategy for the login route?)

来源:https://stackoverflow.com/questions/57996592/converting-msal-access-token-to-hapi-jwt-token

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!