gpt4 book ai didi

Azure AD B2C : The redirect URI in the request, 与 OAuth 客户端授权的不匹配

转载 作者:行者123 更新时间:2023-12-03 05:28:34 26 4
gpt4 key购买 nike

我正在尝试Set up sign-up and sign-in with a Google account using Azure Active Directory B2C 。调试应用程序时,我可以使用我的电子邮件注册。但是,我无法使用 Google 登录,收到请求中的重定向 URI 与 OAuth 客户端授权的不匹配错误。

Appsettings.json:

"AzureADB2C": {
"Instance": "https://InstaTranscribe.b2clogin.com/",
"Domain": "InstaTranscribe.onmicrosoft.com",
"ClientId": "<SomeClientId>",
"SignUpSignInPolicyId": "B2C_1_SignUpSignInUserFlow",
"ResetPasswordPolicyId": "B2C_1_PasswordResetUserFlow",
"EditProfilePolicyId": "B2C_1_ProfileEditingUserFlow",
"CallbackPath": "/signin-oidc"
}

enter image description here

enter image description here

enter image description here

我错过了什么?

Authorization Error
Error 400: redirect_uri_mismatch
The redirect URI in the request, https://instatranscribe.b2clogin.com/instatranscribe.onmicrosoft.com/oauth2/authresp, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/${your_client_id}?project=${your_project_number}

最佳答案

您需要将错误消息中看到的网址粘贴到 Google 应用设置中的“授权重定向 URI”。这一个就足够了。

关于Azure AD B2C : The redirect URI in the request, 与 OAuth 客户端授权的不匹配,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66923500/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com