Questions tagged [identityserver4]

OpenID Connect Provider and OAuth 2.0 Authorization Server Framework based on ASP.NET Core

IdentityServer4 is an OpenID Connect Provider and OAuth 2.0 Authorization Server Framework built on ASP.NET Core.

Allows for the implementation of single sign-on and access control for modern web applications and APIs using protocols such as OpenID Connect and OAuth2. It supports a wide range of clients like mobile, web, SPAs and desktop applications and is extensible to allow integration in new and existing architectures.

IdentityServer4 is officially certified by the OpenID Foundation and thus spec-compliant and interoperable. It is part of the .NET Foundation, and operates under their code of conduct. It is licensed under Apache 2 (an OSI approved license).

For the .NET 4.x, katana based version see Identity Server 3

5377 questions
2
votes
0 answers

User authentication with client on limited-input device in IdentityServer

I'm trying to recreate Azure CLI authentication using Identity Server. How can I do that? I have a CLI which uses client from IdentityModel to access token to API in the name of the user sourced from external identity provider. In Azure CLI the flow…
xmichaelx
  • 569
  • 1
  • 6
  • 17
2
votes
1 answer

How to refresh the identity server token?

I'm generating token in the login time var identityService = await DiscoveryClient.GetAsync("http://localhost:5000"); // request token var tokenClient = new TokenClient(identityService.TokenEndpoint, "ro.client", "secret"); tokenResponse = await…
2
votes
2 answers

Identity Server 4 issued JWT Validation failure

I have an Identity Server running based on IdentityServer 4 (.Net Core v2) targeting the full .Net framework, and I have an ASP.NET WebAPI built against ASP.Net Web API 2 (i.e. NOT .Net Core) that is using the Identity Server 3 OWIN middleware for…
2
votes
2 answers

Getting access_token from identityserver returns null

I have 3 projects, an MVC .net core website, an API service and an IdentityServer (IdentityServer4). Logging in to the website works like a charm. It's when I want to get data from the API the problems are starting. Getting the access_token from the…
2
votes
0 answers

I'm getting a Failure message: Unprotect ticket failed using core and Identity Server

I have an Angular app using .net core and Identity Server 4 for authentication. I'm using this angular service for openid https://github.com/manfredsteyer/angular-oauth2-oidc After I log in I'm redirected back to my web app with a token, but I keep…
user2531854
  • 856
  • 3
  • 13
  • 32
2
votes
1 answer

Identity Server 4 and web api for user management

I have this project where I am using Identity Server 4 and Web API. The Web API is protected by the ID server project. As I understood, it is a better practice to have the ID server sit in its own project and have its own database. However, I am not…
user3140096
2
votes
1 answer

Add additional information to access token for IdentityServer 4

For example, client send requests for an access token with the additional field location: USA. Where can I store that field, which would then passes back to my server from a client? I mean, that field must present in all requests, but certain values…
Yurii N.
  • 5,455
  • 12
  • 42
  • 66
2
votes
0 answers

IdentityServer4 - MVC app hosts Aurelia SPA + WebAPI

I'm trying to do something that seems like it would be a straightforward thing. I've looked through the IS4 QuickStarts and found a bunch of things regarding OAuth online, but with the latest changes to Core 2.0, I'm having trouble finding an…
2
votes
2 answers

Custom login views in Identity Server 4

I need to customize the login views (login, logout, loggedout, error...) based on the clientID and select the look and feel dinamically (even, if possible, add behaviour). I've seen the IViewService interface and his implementation…
Alpha75
  • 2,140
  • 1
  • 26
  • 49
2
votes
1 answer

Slow response from Identity Server 4.0 (asp.net core 2.0) on connect/token endpoint on high load

We have setup Identity Server 4 with Entity Framework Core. We successfully created and Seeded the desired Client to the MSSQL Database and deployed both the Project and the Database to one and the same AWS Datacenter. In our Startup.cs class we…
Mariyan Stefanov
  • 289
  • 3
  • 13
2
votes
1 answer

Identity Server 4 with EF identity DB - OpenID Connect Failing (1)

I have an Identity Server 4 solution with EF Identity DB. I can login with my email and external gmail account, but when I try to login using OpenID (User name and Password) I receive the error below. The issue maybe with the info stored in the…
2
votes
1 answer

Identity Server 4, EF Core, share DbContext between API and IS4

I'm using Identity Server 4, Asp Identity, EF Core and one database. I have 3 projects at the moment IdentityServer - Contains all data contexts and all migrations with my app tables Api - no context, no migrations however I need to access…
2
votes
1 answer

Custom Implementation of IClientStore

We are using EntityFramework Core with Identity Server4 to store configuration data. Do we need custom implementation of IClientStore(i.e FindClientByIdAsync) interface to fetch client from database? public class CustomClientStore : IClientStore { …
Sonika
  • 151
  • 1
  • 3
  • 14
2
votes
2 answers

IdentityServer4 client_id specific login pages

I'm trying to have different login pages based on the client_id. Use case : My default login page is a classic username/password type login, but for a specific client_id, the login page asks for 3 different infos that are found one a piece of paper…
Carl Quirion
  • 765
  • 5
  • 25
2
votes
0 answers

Does IdentityServer4.AccessTokenValidation support validating tokens from multiple authorities?

Does IdentityServer4.AccessTokenValidation support authentication of multiple authorities? Normally, I setup the trust for my own single authority like so: .AddIdentityServerAuthentication(options => { …
user2368632
  • 990
  • 1
  • 12
  • 33
1 2 3
99
100