Azure AD App Redirect URI for Chrome Exntension

后端 未结 2 461
庸人自扰
庸人自扰 2021-01-16 16:46

I\'m using the Microsoft Authentication Library for JavaScript (MSAL.js) version 1.3.2 in my chrome extension built on React JS. I have two login scenario I nee

2条回答
  •  梦毁少年i
    2021-01-16 16:54

    The protocol for chromium extensions is chrome-extension://, so I believe your redirect uri should be: chrome-extension://ihmmiapcpnfpphpdinbmjfglladedjoa/popup.html

    Edit: In addition to using the above redirect URI format, you need to ensure the following:

    1. The redirect URI is added to your application's redirect URIs in the Azure Portal (under "Mobile and desktop applications").
    2. The page used for the redirect URI is included in the web_accessible_resources section of your extension's manifest.json.

提交回复
热议问题