Questions tagged [identityserver4]
OpenID Connect Provider and OAuth 2.0 Authorization Server Framework based on ASP.NET Core
identityserver4
2,234
questions with no upvoted or accepted answers
11
votes
2
answers
4k
views
"AddOptions<T>.Configure()" doesn't work when "services.AddTransient<IConfigureOptions<T>, ConfigureTOptions>()" does?
I am trying to configure IdentityServer4 Authentication using a strongly typed configuration object.
The Options pattern documentation by Microsoft says:
You can access other services from ...
11
votes
1
answer
7k
views
Cookies in IdentityServer4
Can someone explain the purpose of the cookies which are sent to the user browser after successful login in Identity Server4. Also I have three smaller related questions at the bottom.
The client is ...
10
votes
1
answer
2k
views
Request header are not forwarding to IdentityServer4
I am using ocelot as API gateway for my microservices with IdentityServer4 for authentication. In the ocelot config file I added "AuthenticationOptions" and set the api key. In the Startup I add the ...
10
votes
1
answer
3k
views
How to add a new client to IdentityServer4 in the database?
During the first tests I always used the AddInMemoryClients configuration of IdentityServer4 as described in their documentation.
However I'm in the process of deploying it to our test environment ...
10
votes
3
answers
4k
views
Can I use IdentityServer4 spa JS UI instead of asp .net core mvc?
I looked example of IdentityServer4 UI (IdentityServer4.Quickstart.UI) UI in it on the basis of asp .net core mvc. Examples for spa JS UI I have not found. Is is safe to use spa js UI, and how to do ...
9
votes
1
answer
2k
views
How to access a certification from AWS in a ASP.NET (Core 2) web application?
I am trying to deploy an ASP.NET Core 2 web application to AWS Elastic Beanstalk.
The application is actually IdentityServer4 for which I need to have access to a certification to sign and validate ...
8
votes
5
answers
27k
views
Failed to load http://localhost:5000/.well-known/openid-configuration: No 'Access-Control-Allow-Origin' header is present on the requested resource
I am a newbie to identityserver4, recently I have seen the Quickstart8 sample provided by the identityserver team, in that 3 project are included 1.Identityserver
2. Api 3.Client all are working fine ...
8
votes
1
answer
2k
views
Running IdentityServer4 on .Net Core 2.0 in Docker - Accessing host resources
I'm trying to convert a service (IdentityServer 4 v2) that is a .Net Core 2.0 application to run on Docker for Windows. This is on a dev workstation only.
I did the standard Visual Studio 2017 "Add ...
8
votes
0
answers
2k
views
OWIN OpenID connect client gets caught in redirection loop
I have apps "A" and a test app with minimal code "B" that use an OWIN startup file to point to our identity server (Thinktecture). This is in both startup files:
public void Configuration(IAppBuilder ...
7
votes
0
answers
2k
views
Identity Server 4 User Impersonation
I am struggling to implement a Impersonation feature into the Identity Server 4 Service. I understand that there's a lot of people who are against implementing it the way I want to but I really need ...
7
votes
0
answers
2k
views
IdentityServer4 personal access token (github-like) or API key for third party clients
Our current setup is
IdentityServer4
Angular + ASP.NET Core application
Authentication for the app via implicit flow/oidc.
We want to provide APIs for customers, i.e. third party clients, with ...
7
votes
1
answer
652
views
Identity Server + ionic + OpenID Hybrid flow
I can't find any example for this kinda solution. Is it doable ? In my knowledge, it should be, but I haven't seen anyone doing this. Any downside for this way ?
Thanks !
6
votes
0
answers
490
views
Why is ASP.NET Core Identity not recommended for web api authentication
Instead the docs recommend Identity Server, Azure AD, etc for securing Web Apis. As far as I can tell, Identity offers JWT as well, so why is it not recommended?
Here is a link to the docs ...
6
votes
0
answers
1k
views
A task was canceled at ConfigurationManager.GetConfigurationAsync(CancellationToken cancel) in .NET Core
I have two projects, one on .NET 5 and the other on .NET Core 3.1.
Lately, I got email logging turned on, sending me emails whenever an error is thrown.
Every now and then, I get an email with the ...
6
votes
1
answer
6k
views
silent renew error Frame window timed out on refresh token
I'm using Identity Server 4 asp net core backend and React SPA for frontend. I'm getting 'silent renew error Frame window timed out' in console of browser when refreshing token. Please help. Below is ...