最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

azure - Error : token API failing for Angular MSAL SSO Implementation due to CORS issue and Strict Policy Issue - Stack Overflow

programmeradmin0浏览0评论

I have added necessary details for mu Angular App in App registrations. I have configured redirect URL properly for Single Page Application Platform in Azure App Registrations. While trying to run the SSO MSAL implementation from localhost getting error like CORS error. So, if headers are added to bypass CORS issue, then /token API of MSAL Authentication to get access token is failing due to strict policy error. How to run Angular Application with App Registration on Localhost?

I have added necessary details for mu Angular App in App registrations. I have configured redirect URL properly for Single Page Application Platform in Azure App Registrations. While trying to run the SSO MSAL implementation from localhost getting error like CORS error. So, if headers are added to bypass CORS issue, then /token API of MSAL Authentication to get access token is failing due to strict policy error. How to run Angular Application with App Registration on Localhost?

Share Improve this question asked Feb 2 at 19:27 Vikas DeshmukhVikas Deshmukh 3110 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

This can be resolved for localhost by changing the platform in App registration. Instead of using Single Page Application in Platform use Mobile or Desktop Application platform. This resolves issue for Localhost. But if you wish to run Single Page Application on Server then keep the Single Page Application Platform configured as well.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论