You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
Is it the intent of this code forRedirectUri property on the AzureAdB2COptions class (set in my appsettings.json) to end up the redirect_uri= querystring parameter of the /te/[tenant]/[policy]/oauth2/v2.0/authorize? call?
Because it sure doesn't.
It's ignoring it.
My RedirectUri is set to http://localhost:3456/app/signin-oidc, but what gets sent in that call is &redirect_uri=http%3A%2F%2Flocalhost%3A3456%2Fsignin-oidc...
as in, conspicuously missing the /app part. Which is real important.
So I tried just putting random things into that property and confirmed it's not using it at all, it seems to just be sending the origin server + /signin-oidc no matter WHAT is in the RedirectUri!
Is there somewhere extra this needs to be assigned that this sample code is missing, or is it just not for what I thought it was?
And if the latter, does that mean that this sample just doesn't work if it's not serving at the server root?
The text was updated successfully, but these errors were encountered:
You can override the Redirect URI in the OnRedirectToIdentityProvider event. Example: public Task OnRedirectToIdentityProvider(RedirectContext context) { context.ProtocolMessage.RedirectUri = "https://localhost:3456/app/signin-oidc"; }
Make sure the Redirect URI is updated in the Application Registration page
Is it the intent of this code for
RedirectUri
property on theAzureAdB2COptions
class (set in my appsettings.json) to end up theredirect_uri=
querystring parameter of the/te/[tenant]/[policy]/oauth2/v2.0/authorize?
call?Because it sure doesn't.
It's ignoring it.
My RedirectUri is set to
http://localhost:3456/app/signin-oidc
, but what gets sent in that call is&redirect_uri=http%3A%2F%2Flocalhost%3A3456%2Fsignin-oidc
...as in, conspicuously missing the
/app
part. Which is real important.So I tried just putting random things into that property and confirmed it's not using it at all, it seems to just be sending the origin server +
/signin-oidc
no matter WHAT is in the RedirectUri!Is there somewhere extra this needs to be assigned that this sample code is missing, or is it just not for what I thought it was?
And if the latter, does that mean that this sample just doesn't work if it's not serving at the server root?
The text was updated successfully, but these errors were encountered: