Questions tagged [identityserver4]
OpenID Connect Provider and OAuth 2.0 Authorization Server Framework based on ASP.NET Core
identityserver4
5,423
questions
0
votes
0
answers
17
views
How to get user information like email, firstname and lastname using Windows AD and without LDAP server?
Using Windows AD in identity server to authenticate user and in that response we are not getting user information like e-mail, first name, last name.
To get the user information, we are using this ...
0
votes
1
answer
14
views
IdentityServer4 stuck in `signin-oidc` and `authorize` redirect loop
We are moving our legacy system from iis to kubernetes and having problems with identityserver authentication. We have our client-facing app and identityserver in different apps but same domain e.g ...
0
votes
2
answers
42
views
Can you use Identity Server 4 with .NET Framework 4.8?
I have an existing project that was built with .NET Framework which has an output of class library which has Identity Server 3 installed on it. I want to know if its possible to install IDS 4 on the ...
0
votes
0
answers
10
views
window.addEventListener('load',... does not trigger on Chrome on iOS (iPad)
We are using identity Server 4.
We are using .NET Core RazorPages web-applications.
They authenticate via openid-connect
While authentificating,the client is redirected to a html page with a hidden ...
1
vote
0
answers
34
views
expo auth session and redirecting back to my app
I'm building the mobile version for a website, and using the identity server for authentication,
I'm using expo-auth-session for handling this but I'm facing a problem redirecting back to my app, is ...
0
votes
1
answer
40
views
Error with Identity Server and Client App
I'm following along with the steps described here:
https://hts.readthedocs.io/en/latest/quickstarts/3_interactive_login.html
and getting the following error in the mvc client:
2024-07-05 14:38:57.607 -...
1
vote
0
answers
41
views
ASP.NET Core 5 Identity reset password token is randomly invalid
Using IdentityServer4 + ASP.NET Core Identity with .NET 5.
Our password reset endpoint throws errors, however, if I re-send the request a few times (the exact same request), it works again.
Here's a ...
0
votes
1
answer
47
views
Token Request Failing and Returning error invalid grant
These are the IdentityServer logs:
2024-07-04 21:06:57.551 -04:00 [DBG] Start key discovery request
2024-07-04 21:06:57.552 -04:00 [INF] Request finished HTTP/1.1 GET https://localhost:44322/.well-...
0
votes
0
answers
35
views
IdentityServer4 with .Net7.0. API separation in SSO by ApiScope
I have 5 clients of my identity server, I need to separate the authorization of 1 client from the others. After signin to the ClientA, I switch to the ClientB already authorized, help me solve.
It is ...
0
votes
1
answer
36
views
How can we generate access token based on some Id along with emailaddress and password
Currently I am working on a task where I need to generate access token for a user based on user credentials(emailaddress and password) and some Id (e.g: subscriptionId ). As per my research there is ...
0
votes
0
answers
38
views
Unable to get user information using useSession hooks
I am using Identity Server as a provider for authentication. I want to get user information on my Next.js pages using the useSession hooks. After a successful login, I am able to get the user details ...
0
votes
1
answer
51
views
Issue with seeding IdentityServer4 data using Entity Framework and SQL Server
I'm currently facing an issue while trying to seed data for IdentityServer4 using Entity Framework Core with SQL Server. I followed the quickstart guide, but I'm encountering problems when seeding ...
0
votes
0
answers
24
views
Why does authorization fail when running through compose?
I'm connecting authorization for the project via Identity Server 4.
I have 2 projects, one has an IdentityServer, the second just an api.
The fact is that when I launch the api locally, transfer the ...
0
votes
0
answers
21
views
I logged in with Identity Server4 and I change subdomain, I want to stay logged in - .NET Core and Angular
In .NET Core 6 using Identity Server 4 password flow, Angular, I log in successfully using a valid user name and password and store the token to local storage.
Now I want to allow logged in user to ...
1
vote
0
answers
66
views
Unable to get user information from Duende Identity server because requirehttps error in my Angular application
For a project I am running an ASP.NET Core 8 Web API server, Duende Identity Server, and the client side is an Angular 17 app.
But after the user is authenticated in my Duende Identity server should ...
0
votes
0
answers
18
views
Identity server 4 redirect when project removed
In the past I have sued identity server 4 as the identity provider. Now, i have deleted the identity project from my solution, removed every mention on the identity url from my solution and also ...
0
votes
0
answers
96
views
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException while ASP.NET Core 8.0 MVC app trying to connect with IdentityServer4 App in IIS
We are migrating our projects from .NET 6.0 to .NET 8.0, where I am getting this error.
We have one ASP.NET Core MVC application which is trying to connect to the IdentityServer4 application for ...
0
votes
1
answer
101
views
Adding External OAuth Authentication via AddOauth
Our application current using a traditional username/password login to authenticate against our AbpUsers table internally.
We are currently on ABP Framework 5.3.5
I am trying to add a new external ...
0
votes
0
answers
45
views
code is fine versions are latest .Net 8 but my auth project did not validate the token Identity server 4?
Everything is fine in code but not working I used latest version of packages with .NET 8.0 the versions are also same but did not work.
I've created two projects
Identity Server
Game Api
I want to ...
0
votes
0
answers
57
views
InvalidOperationException: No authenticationScheme was specified in ASP.NET Core with IdentityServer4
I'm encountering an InvalidOperationException in my ASP.NET Core application when integrating with IdentityServer4. In local everything works fine but when I replace my old projects (Client + Auth) I ...
2
votes
0
answers
74
views
How do authorize with Identity Server and Azure Active Directory?
It is necessary to make authorization through these systems. Leave the login and password through the Server Identity page, and the process itself through AAD.
I did so. The token from AAD is returned ...
0
votes
0
answers
16
views
In IdentityServer4 is there a way to add the client GUID available in the ExtendedClients table in claim list?
I would like to identify a client using the GUID available in the ExtendedClients table. When a client requests a token using the client_credentials flow, the claim available in the token is the ...
0
votes
2
answers
62
views
Can't get access token from Identity Server 4 when using IHttpClientFactory and Intercept HttpClient GetAsync
I am trying to get access token from Identity Server 4 in my .Net 6 solution. I have 3 projects are running :
Identity Server to get access token from it
Movies.API to access secured resource
Movies....
2
votes
1
answer
121
views
Chrome does not return IdentityServer authentication cookie
I am debugging a problem with a legacy ASPNETCore authentication system that uses IdentityServer4. It seems to be a problem with how Chrome (and Edge) handles a cookie.
When the Login page posts (via ...
0
votes
1
answer
58
views
How can run the IdentityServer for Macos?
I am developing a project, it is requested to use IdentityServer4. I install the project but I can't run it because it doesn't support .net 3.1 on Macos operating system.
I did some research, I found ...
0
votes
0
answers
42
views
ABP Framework Deployment on IIS Authorize returns "Error?httpStatusCode=400"
We developed a web application using ABP Framework. We published the application we developed under a single domain with api and authserver applications. We also updated the application address ...
0
votes
0
answers
65
views
Invalid authorization code when multiple instances of Identity Server 4
We are running into wierd issues since we scale out our azure app service plan. All this time we were on single instance hence no issue faced there. With mutiple instance running we persistenly get ...
0
votes
1
answer
37
views
Azure WebApp Blazor with IdentityServer4 Couldn't find a valid certificate with subject 'CN=' on the 'CurrentUser\My'
I used self-signed certificate for my IS4. I followed the steps in here.
I tried using self-signed certificate and uploading the pfx file.
New-SelfSignedCertificate -Subject "CN=certName" -...
0
votes
0
answers
22
views
In Identity Server, How to silently re-sign in an already logged session?
I had a configuration client + handler that worked only with cookies.
I have many users already logged with that cookies
That configuration didn't emit tokens, then I changed the client + handler to ...
1
vote
0
answers
40
views
How to deploy Duende Identity Framework in an existing application
So far I only saw docs about deploying Duende IDP as a dedicated Application.
How can we deploy in an existing Application, so that:
ISSUER will be something like https://localhost:5001/idp
The UI ...