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
Hello! Sorry for asking stupid things, but help will be really appreciated. I'm trying to follow your blog post. The following code works like a charm with Microsoft.AspNetCore.Authentication.OpenIdConnect:
At first, it doesn't pass redirect_url if it is not set explicitly. But if I set it to something like RedirectUri = "http://localhost:9001/signin-oidc" or just RedirectUri = "http://localhost:9001/" myself, redirect works but I got 404 error for / or /signin-oidc endpoint. Am I doing something wrong? I'm using latest version of Microsoft.Owin.Security.OpenIdConnect and unfortunately I stuck with Framework.
The text was updated successfully, but these errors were encountered:
In case if somebody struggle with the same problem: try too add RedeemCode = true to OpenIdConnectAuthenticationOptions. It should work similar to Core version.
The only problem that left is the need to explicitly set RedirectUri parameter (
Hello! Sorry for asking stupid things, but help will be really appreciated. I'm trying to follow your blog post. The following code works like a charm with
Microsoft.AspNetCore.Authentication.OpenIdConnect
:but similar code don't with
Microsoft.Owin.Security.OpenIdConnect
:At first, it doesn't pass
redirect_url
if it is not set explicitly. But if I set it to something likeRedirectUri = "http://localhost:9001/signin-oidc"
or justRedirectUri = "http://localhost:9001/"
myself, redirect works but I got 404 error for/
or/signin-oidc
endpoint. Am I doing something wrong? I'm using latest version ofMicrosoft.Owin.Security.OpenIdConnect
and unfortunately I stuck with Framework.The text was updated successfully, but these errors were encountered: