tagged [identityserver4]

IdentityServer4 - ApiResource and Client, how are they tied together

IdentityServer4 - ApiResource and Client, how are they tied together I am trying to determine how ApiResource and Client are tied together. How do I go about ensuring that someone requesting a token f...

23 May at 22:1

AntiForgeryToken Expiration Blank Page

AntiForgeryToken Expiration Blank Page I'm using IdentityServer4 with ASP.NET Core 2.2. On the Post Login method I have applied the ValidateAntiForgeryToken. Generally after 20 minutes to 2 hours of s...

React SPA / Embedded Identity Server issue after .net core 3 preview 8 upgrade

React SPA / Embedded Identity Server issue after .net core 3 preview 8 upgrade We have a React SPA which was initially created using the SPA templates and running on .NET Core 3 preview 7. The React S...

Bearer error="invalid_token", error_description="The issuer is invalid"

Bearer error="invalid_token", error_description="The issuer is invalid" I have a simple web api project, which looks like this: I am trying to test it with Postman. By following the steps here: [https...

AddSigningCredential for IdentityServer4

AddSigningCredential for IdentityServer4 We are using IdentityServer4 with .NET Core Web Application("[http://docs.identityserver.io/en/release/quickstarts/0_overview.html](http://docs.identityserver....

5 Apr at 21:40

IdentityServer4 discovery document returns 404

IdentityServer4 discovery document returns 404 I am following the quick start for ID Server 4 with one exception that I am working on a Mac with .NET Core 2.1.302. Somehow when I navigate to `http://l...

21 Apr at 11:52

How to refresh access token

How to refresh access token I have an Asp.net core web application which connects to an Identity server 4 application for authentication. There is also an API involved. The API consumes an access toke...

Identity server is keep showing "Showing login: User is not authenticated" in /connect/authorize/callback

Identity server is keep showing "Showing login: User is not authenticated" in /connect/authorize/callback Using IdentityServer4, I'm implementing Code flow authorization on an existing system which su...

IdentityServer4 register UserService and get users from database in asp.net core

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...

11 Sep at 17:56

Identity Server(OAuth2) implementation with integration to legacy systems(Forms Auth, ADFS,AD)

Identity Server(OAuth2) implementation with integration to legacy systems(Forms Auth, ADFS,AD) We are currently building a RESTful API(.Net Core, [IdentityServer 4](https://github.com/IdentityServer/I...

IdentityServer client authentication with public/private keys instead of shared secrets

IdentityServer client authentication with public/private keys instead of shared secrets I'm trying to use public/private keys instead of a shared secret for client secrets with IdentityServer4. This a...

Multitenant Identity Server 4

Multitenant Identity Server 4 I'm trying to implement an IdentityServer that handles an SSO for a multitenant application. Our system will have only one IdentityServer4 instance to handle the authenti...

Cannot resolve scoped service 'Microsoft.AspNetCore.Identity.UserManager`1[IdentityServerSample.Models.ApplicationUser]' from root provider

Cannot resolve scoped service 'Microsoft.AspNetCore.Identity.UserManager`1[IdentityServerSample.Models.ApplicationUser]' from root provider i am extending the identity server to use custom identity se...

Identity Server 4 and docker

Identity Server 4 and docker I'm trying to configure IdentityServer4 with docker but I cannot make it work. To get started, I took the Client Credential example of the identity server documentation: [...

13 Jun at 17:17

Authorization header requires 'Credential' parameter

Authorization header requires 'Credential' parameter We are using Identity Server4 with .NET Core and deploy the application as AWS Serverless lambda function. When are calling the token endpoint to g...

9 Dec at 15:57

Populate the IdentityServer redirect_uri with parameters using ServiceStack

Populate the IdentityServer redirect_uri with parameters using ServiceStack I am trying to use ServiceStack with IdentityServer4 to do the user logon authentication. However, I need to pass back some...

Profiler BLOCKED_TIME in IdentityServer4/Newtonsoft.Json

Profiler BLOCKED_TIME in IdentityServer4/Newtonsoft.Json I'm having issues that the /connect/introspect endpoint of my IdentityServer is sometimes really slow (10 seconds for one call). As you can see...

How to make IdentityServer to add user identity to the access token?

How to make IdentityServer to add user identity to the access token? Short: My client retrieves an access token from IdentityServer sample server, and then passes it to my WebApi. In my controller, th...

How can I setup SwashBuckle.AspNetCore.Swagger to use Authorization?

How can I setup SwashBuckle.AspNetCore.Swagger to use Authorization? I have documented my api using Swashbuckle.AspNetCore.Swagger and I want to test some resources that have Authorize attribute on th...

AuthorizeRequestValidator: Error: Invalid grant type for client: implicit

AuthorizeRequestValidator: Error: Invalid grant type for client: implicit I am trying to setting up Identity Server 4 `HybridAndClientCredentials` on .NET Core 2.0 MVC. I'm struggling with the error: ...

Adding external login with Identity Server 4 and ASP.NET Identity

Adding external login with Identity Server 4 and ASP.NET Identity After adding Authentication functionality using Identity Server 4 with ASP.NET Identity, I'm planning to add the Google Provider so us...

Identity Server 4: adding claims to access token

Identity Server 4: adding claims to access token I am using Identity Server 4 and Implicit Flow and want to add some claims to the access token, the new claims or attributes are "tenantId" and "langId...

IdentityServer4 PostLogoutRedirectUri null

IdentityServer4 PostLogoutRedirectUri null I am attempting to get the implicit flow working for IdentityServer4. Login and logout work correctly, however the PostLogoutRedirectUri is coming back null,...

OIDC login fails with 'Correlation failed' - 'cookie not found' while cookie is present

OIDC login fails with 'Correlation failed' - 'cookie not found' while cookie is present I'm using IdentityServer 4 to provide authentication and autorisation for my web app, using an external login pr...

15 Aug at 13:0

User is authenticated but where is the access token?

User is authenticated but where is the access token? I have a web Application which authenticates a user to an Identity Server 4, using an implicit client. I need the access token for this user so th...

28 May at 13:5