WAAD doesn't refresh access token from javascript

后端 未结 1 1730
遇见更好的自我
遇见更好的自我 2021-01-23 12:15

For applications that authenticate users with Windows Azure Active Directory(WAAD), unable to refresh token from javascript.

All the resources are protected by Authorize

1条回答
  •  无人共我
    2021-01-23 12:59

    It looks like you secured your web API with a method more suited for web UX. Take a look at ADAL JS for a more reliable way of dealing with javascript driven apps: http://www.cloudidentity.com/blog/2014/10/28/adal-javascript-and-angularjs-deep-dive/ For an explanation of how token renewal works, see the video linked in that post HTH V.

    0 讨论(0)
提交回复
热议问题