All Questions
Tagged with identityserver4 .net-core
453
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
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 ...
0
votes
0
answers
227
views
Identity server redirection not working after token expired and getting 302 found
We have SPA with the IDS 4 and its does not redirect to the login screen post token expires.
Getting below response as blank screen as it does not redirecting to identity server urls.
enter image ...
0
votes
0
answers
78
views
ASP.NET Core IdentityServer4 in Production **Workflow**
I'm new to IdentityServer4(just implemented on development environment) and I'm a little bit lost with all the configuration required for a real world/production deployment
So far, I have made my own ...
0
votes
0
answers
32
views
Not able to parse JavaScript in Identity Server 4 .Net CORE 3.1 MVC - Uncaught SyntaxError: Invalid or unexpected token
I have a .Net Core MVC Application for Identity Server 4. Inside of the Login.cshtml file I have a script tag surrounding 37k lines of a compiled function from a React application. I am trying to ...
0
votes
0
answers
25
views
I am using Identity server 4 oidc authentication but when ever I apply authorize attribute then I am getting this - Token was not authenticated
This is the logging I am getting
enter image description here
Configurations -
services.AddIdentity<ApplicationUser, Role>()
.AddDefaultTokenProviders()
.AddDefaultUI(...
0
votes
0
answers
43
views
.Net Core + React + Identity server. returnUrl returns 'template Url' instead of 'Url from which I was redirected'
I have net7.0 + React + Identity server (template project with user identity)
The problem is: After Authorization I redirected back not on a page from which I was redirected to Authorization.
Example :...
0
votes
0
answers
237
views
Communication between two Docker containers failing due to SSL Certificate
I have two asp web api, one for identity server and second for just web api. They are supposed to be run on docker containers.
I generated a self-signed certificate for SSL https connections between ...
0
votes
0
answers
36
views
Identity server 4 refresh token to client side
I am using identityserver api for authentication in my web application.
Whenever token expires I need to forcefully refresh page then it will go to identity and token regenerates and my api gets ...
0
votes
0
answers
25
views
I have added custom claims, but they are not getting added into token
enter image description here
enter image description here
enter image description here
I am doing this but still I'm not able to add custom claims.
I have tried above code but still can't able to get ...
0
votes
0
answers
34
views
Authentication for two different applications (.NET Core app and .NET frameowk app) via Identity server 4
What I'm trying to achieve here is to authenticate to two different applications: a .NET Core app App1, and .NET web app App2.
Scenario: when a user is authenticated to my App1 which is via Identity ...
1
vote
1
answer
1k
views
Replace IdentityServer with Openiddict in .NET 7
I'm migrating my project from using IdentityServer v6 to Openiddict and having a hard time finding Openiddict stuff similar to IdentityServer.
Currently in Identity server, we have Client to represent ...
0
votes
0
answers
169
views
How to create an access token without a password for a user in the identityServer4, to access another api from api
There are 2 APIs, external and internal:
the external API uses resource ownership token authorization
the internal API uses just a login/password.
There was a task to forward a call from an external ...
0
votes
0
answers
73
views
.Net Core Identity running same requests about Identity tables(AspNetUsers, AspNetUserClaims, AspNetRoles, AspNetRoleClaims) on any request
I have a problem with the identity server. It sends a few identity server methods to each request after just a few minutes when I sign in with the identity server manager. Actually, it doesn't need ...
0
votes
1
answer
105
views
How to control the Identity Server URI's protocol in the Discovery Document
I have Identity Server 4 running on a secured endpoint. The problem I am having is that the discovery document located at /.well-known/openid-configuration has some of the URL's as "http" ...