Hi
What RedirectUrl should I define for OpenID callback in ASPNetCore with Angular version?
8 Answer(s)
-
0
Maybe you can take a look at this discussion: https://github.com/aspnetzero/aspnet-zero-core/issues/2347
-
0
Thank you. The solution isn't clear to me yet. Can you please post the exact redirectUri to authenticate users coming from the external OpenId login? Also, I noticed your last release included enhancements for OpenId. Maybe that was part of it?
-
0
Hi @kasem
It is the base url of the app. So, for development it will be
http://localhost:4200
-
0
Hi @ismcagdas
1. I noticed redirectUrl is pointing to the login URL instead of http://localhost:4200
- Where can I add configurations like ClientSecret, Metadata end point, Scopes and more?
- I'm not familiar with OpenID but noticed you have IdentityServer configurations in appsettings. How IdentityServer are related to OpenID?
Thanks
-
0
any news here? it's urgent and blocking
-
0
Hi,
yes, that configuration is correct. The configuration must be provided by openid provider you are using. Are you trying to connect to Azure Active Directory ? İf so, you can find the configuration on Active Directory section of Azure portal.
İdentity Server configuration is not related here.
-
0
Hi @ismcagdas
It's not Azure. I'm trying to connect to an organization that supports OpenID. I only sent them my RedirectUrl http://localhost:4200. They provided ClientID, ClientSecret, ClientName, ClientType, "Grants Required", Token Types, Scopes and different Endpoints
I'm trying to figure out where I should add those details in NetZero. I found some of those properties available in "IdentityServer" node in appsettings, but since you have multiple IdentityServer configs I don't know which one to use. Also, where should I add the breakpoint to debug the authentication point with the targeted OpenID authority.
Hope it's clear?
-
0