All Questions
Tagged with asp.net-core identityserver4
1,735
questions
1
vote
0
answers
64
views
Browser client requires login for every new session
I am porting my idsrv3 based MVC application to aspnet-core and idsrv4.
Differently than in idsrv3 a new login is required whenever a new browser session is started. I also verified this changed ...
2
votes
1
answer
3k
views
Log user out of multiple IdentityServer clients
We have a project that uses IdentityServer4
https://github.com/IdentityServer/IdentityServer4
We have 3 domains: auth, admin and www
IdentityServer runs on auth and the other two are ‘clients’.
...
0
votes
2
answers
959
views
Retrieve id_token based on access_token in API
We are current building a collection of back-end ASP.NET Core microservices. These services will not be accessed directly from the front-end application, but rather accessed through an ASP.NET Core ...
40
votes
2
answers
52k
views
Identity Server 4 Authorization Code Flow example
I'm trying to implement Identity Server 4 with AspNet Core using Authorization Code Flow.
The thing is, the IdentityServer4 repository on github have several samples, but none with Authorization Code ...
1
vote
0
answers
616
views
Generating a valid JWT
I've been getting into using Identity Server 4 this weekend, and I've mostly been impressed with the ease and it feels like I've gotten a good grip for the procedure for creating an access_token. Been ...
3
votes
1
answer
2k
views
Using database instead of in memory store Identity server 4
Please guide me how we can customize identityserver 4 to use database instead of in memory store.
List of class that need to be overridden and how they are to be configured
7
votes
2
answers
2k
views
The User.IsInRole("Administrators") with IClaimsTransformer always false
I add the role administrators to user claims after authentication with an IClaimsTransformer impelimentation like this:
(principal.Identity as ClaimsIdentity).AddClaim(new Claim(ClaimTypes.Role, "...
5
votes
1
answer
941
views
asp.net 5 and IdentityServer4
I am working on a prototype for a site re-architecture using ASP.NET 5 and I am debating using IdentityServer4 for my Authentication and Authorization. I have reviewed a lot of samples and articles ...
0
votes
1
answer
2k
views
OAuth 2.0 Single-use Access Token for unauthenticated user via IdentityServer4
I apologies in advance for incorrect use of oauth terms.
I have 4 "parties" as follows (intentionally not using oauth terms where possible):
End-user in a browser (javascript)
Our website (aspnet)
...
92
votes
3
answers
77k
views
IdentityServer4 register UserService and get users from database in asp.net core
I've searched all over on how to register a UserService with IdentityServer4 in asp.net core, but I cant seem to find the right way to do it.
This is the code to register InMemoryUsers found here, ...