Questions tagged [identityserver3]

OpenID Connect Provider and OAuth 2.0 Authorization Server Framework based on Katana.

IdentityServer 3 (IdSrv3) is a .NET/Katana-based framework and hostable component that allows implementing single sign-on and access control for modern web applications and APIs using protocols like 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.

1321 questions
11
votes
3 answers

Run code after openid connect sign-in in Asp.net Core

I am trying to figure out the best way to run some code once a user has authenticated themselves using OpenID Connect on a Dotnet Core MVC App. I don't want to hard code a redirect URL after sign-in because they still need to end up where they were…
11
votes
2 answers

IdentityServer 3 refresh user with refresh token

We are trying to set up Identity Server 3 in the right way. We got authentication working fine and we manage to retrieve the refresh token. The client application is using Angular. Now when the acces_token expires any calls to the rest api fails (we…
Georges Legros
  • 2,494
  • 2
  • 23
  • 42
10
votes
3 answers

Identity Server 3 - The client application is not known or is not authorized

I am getting the error 'The client application is not known or is not authorized.' when accessing a protected area of my site. Here's my Clients: public static class Clients { public static IEnumerable Get() { return new[] …
Jon
  • 3,173
  • 3
  • 39
  • 66
10
votes
4 answers

Reference for Constants.ClaimTypes

I've got IdentityServer3 running as a standalone identity server. I have a separate MVC client that uses Cookies and OpenIdConnect for authentication. I'm trying to set up claims transformations amongst other things, and would like to reference the…
Ibraheem
  • 2,168
  • 20
  • 27
10
votes
4 answers

How do I enable logging in Thinktecture IdentityServer v3?

How do I enable logging in Thinktecture IdentityServer v3? I'm currently getting a generic error page, saying "There was an unexpected error". I was able to figure out that the generic error gets returned by the ErrorPageFilterAttribute that appears…
Biscuits
  • 1,767
  • 1
  • 14
  • 22
9
votes
1 answer

Identity Server 4 - Getting invalid_client error

I am new to Identity Server. I haven't configured it before. But I need it for a Project I am working on. The API will be serving an Angular JS Client, iOS App and an Android App. We need to implement authentication and authorisation. Note: I am…
Dawood Awan
  • 7,051
  • 10
  • 56
  • 119
9
votes
2 answers

User.Identity.Name is always null when using AspNetIdentity with IdentityServer3

I've been trying to setup a new IdentityServer3 with AspNetIdentity for a few days now. I'm able to login using my existing Identity DB and that's all good but I can never get the User.Identity.Name to contain data. I've tried multiple attempts at…
TheBrian
  • 148
  • 1
  • 8
9
votes
1 answer

IdentityServer 3 + Asp.net Identity: Scopes, Claims and Clients - Clarifications

I'm almost figuring out how the different pieces of an Authentication and Authorization server architecture work. I really think that IdentityServer is a great piece of software. I'm trying to summarize my discoveries, to settle a base for my…
Marconline
  • 1,108
  • 12
  • 30
9
votes
1 answer

IdentityServer3 - Custom Login and Registration Screen

We are planning to integrate the identity server 3. We have our own login page which has following: Login section Account Registration Section, Is it possible to have a custom login page for identity-server authentication which will have above…
9
votes
3 answers

How to add claims to access token get from IdentityServer3 using resource owner flow with javascript client

I use the resource owner flow with IdentityServer3 and send get token request to identity server token endpoint with username and password in javascript as below: function getToken() { var uid =…
9
votes
1 answer

Change design of Identity server V3 login page

I've downloaded the following example: https://identityserver.github.io/Documentation/docs/overview/mvcGettingStarted.html How can i change design of login page?
progproger
  • 958
  • 2
  • 10
  • 21
9
votes
2 answers

Redirect user after authentication with OpenIdConnect in ASP.Net MVC

I am using OpenIdConnect provider with Owin/Katana for authentication in my asp.net mvc application. OpenIdConnect Provide authenticates users against Active Directory. I wanted to do a simple authorization check once the user is authenticated and…
user3731783
  • 718
  • 1
  • 7
  • 31
9
votes
1 answer

How to use JWT tokens with WCF and WIF?

General notes We're using IdentityServer3 and have been very happy with it so far. We've gotten to secure MVC and ASP.NET Web API applications very easily with the help of both MS and Thinktecture OWIN middlewares. The client we're working for still…
Mickaël Derriey
  • 12,796
  • 1
  • 53
  • 57
9
votes
1 answer

Automatically login local user after registration with IdentityServer3

Using IdentityServer3 I need to automatically login and redirect a local user back to the client application after the user has completed a registration process. Is there an elegant way to do this? From my digging I suspect not, in which case is…
Gavin
  • 5,629
  • 7
  • 44
  • 86
9
votes
1 answer

UseIdentityServerBearerTokenAuthentication is not working for IdentityServer3

I have used the IdentityServer v3, now I want one website to be both the identity host and the web api host. The authority option is not used to validate the token. I have verified the token endpoint and the token validation endpoint is working as…
Jacee
  • 186
  • 2
  • 7
1 2
3
87 88