Skip to main content

All Questions

0 votes
1 answer
98 views

Access_Tokens and Refresh_Tokens are generated even after expiry in IdentitiyServer4

We have a .NET Core application which uses IdentityServer4 for authentication and authorization. We are using azure active directory as IdentityProvider. We are using Redis for Caching. Access_token ...
Sandeep Manchukonda's user avatar
2 votes
2 answers
1k views

family_name and given_name not included in AzureAD token claims

I have successfully connected an OIDC flow with AzureAD, but unfortunately I'm unable to get family_name and given_name claims included in the token. I am requesting the following scopes: { "...
stuzor's user avatar
  • 2,374
2 votes
0 answers
1k views

How to integrate multiple Identity Providers with Identity Server 4, while also using Cookies and JWT auth

Goal I'm trying to implement the scenario described by @ToreNestenius in the diagram here. Configuration I have multiple API services, an instance of Identity Server 4, and a React SPA front end. I ...
stuzor's user avatar
  • 2,374
0 votes
1 answer
530 views

ASP .NET Core identity server default login page as Microsoft

I have integrated the identity server together with Azure AD login for the current web app. May i know how do i immediately redirect user to Azure AD Microsoft login page when they are not ...
Low Chen Thye's user avatar
0 votes
1 answer
191 views

Microsoft.AspNetCore.Identity with Azure ActiveDirectory

I really hope that I don't need IdentityServer to allow users to authenticate with Azure ActiveDirectory in my asp.net core application. Does someone have an example of using these two technologies ...
Tom Crosman's user avatar
  • 1,257
0 votes
1 answer
1k views

Handle error if identityserver discovery document is unreachable

I have a .NET core WebAPI that uses two authentication schemes, the first one is AAD & the second one is identityserver4 services.AddAuthentication(authOptions => { authOptions....
jayeshkv's user avatar
  • 2,188
2 votes
1 answer
6k views

User roles in Azure B2C application

I am building an asp.net core web API project, with Angular client for front-end. We are using azure b2c as our IDP server, (for registration, authentication and related topics). So far the experience ...
Genc Hani's user avatar
3 votes
2 answers
1k views

How to authenticate AAD user in Identity Server 4?

I have integrated the Azure Active Directory in Identity Server 4 as an external provider. I want to authenticate Azure Active Directory users from Identity Server 4 by using the APIs. Here is the ...
Rafaqat Ali's user avatar
0 votes
1 answer
813 views

IdentityServer 4 WsFederation - How to get access token for calling API

I am using Identity Server 4 with the Ws-Federation plugin. Identity Server is configured to connect to Azure AD for authentication. Here is the relevant code from Identity Server project: public void ...
Nimish David Mathew's user avatar
6 votes
2 answers
15k views

Any luck in using AddMicrosoftIdentityWebApp in combination with IdentityServer4?

I'm trying to get Microsoft configured as an external login provider in Identityserver4. I succeeded by following identity server's documentation with using AddMicrosoftAccount: services....
Merijn's user avatar
  • 703
1 vote
1 answer
712 views

OpenID Connect possible with any Microsoft/Office365 account?

I've been working on authentication and authorization within ASPNET Core. I'm familiar with setting up OpenID Connect on my own Azure tenant (such as this this example). I'm also aware of how to ...
MoSlo's user avatar
  • 585
2 votes
1 answer
2k views

Identity Server 4 Adding claims after authentication from a UI

I'm implementing Identity Server 4 in an MVC Core app. I have Azure Active Directory as an external provider and all this is so far working fine. I've also implemented the QuickStart UI (as per https:/...
richaswr's user avatar
1 vote
0 answers
188 views

AAD always failes with Corelation failed when samesite= strict or Lax

Below is My Code Snippet which i am using public static IServiceCollection ConfigureNonBreakingSameSiteCookies(this IServiceCollection services) { services.Configure<...
Mangesh Gaherwar's user avatar
1 vote
1 answer
605 views

Multiple Azure AD Authentication Identity Server 4

I would like to know if it's possible to setup a .NET Core Application using IdentityServer 4 that can Authenticate to more than one AzureAd configuration. Currently you can add 1 AzureAD ...
legollas007's user avatar
1 vote
0 answers
157 views

When Azure AD and identity server message exchange by cookies are not available?

I am having a setup with IS4 working as a federated gateway to Azure AD. Everything was working fine until something happened and I do not receive cookies from Azure AD anymore. The server is setup as ...
MariaMadalina's user avatar

15 30 50 per page