All Questions
Tagged with identityserver4 asp.net-identity
541
questions
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
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
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
1
answer
154
views
Identity Server: Refresh Token for the currently Authenticated User
Authentication configuration:
services.AddAuthentication(options =>
{
options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
options.DefaultChallengeScheme = ...
-1
votes
1
answer
864
views
How to generate Access Token or Authorization Code without user password in ABP Framework?
I want to implement a passwordless authentication in ABP project. In my scenario, I want to authenticate mobile users with their phone number by sending a verification code via SMS, then give these ...
1
vote
0
answers
61
views
How to switch Authenticate Scheme at runtime based on request header
I'm trying to change an existing web API to allow switching between IdentityServer and JWT based authentication. Both forms of authentication work on their own when set to be the ...
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
1
answer
836
views
Samesite=Strict behavior after oidc login
I am running a Client Application and Identity Server on localhost on different ports with http: and Identity Server has external login provider hosted on https:
I have configured Auth Server to set ...
1
vote
1
answer
138
views
How to combine Identity.Application and JWT authentication using IdentityServer4?
How to configure IdentityServer4 and authentication to use both Identity.Application (for IdentityServer4 endpoints) and JWT (for API requests)?
Trying to implement ASP.NET 6 application, that ...
0
votes
0
answers
84
views
Identity Server Dashboard
I'm building an authentication system using ASP.NET and Duende Identity Server, and I have two projects. The first project is the server, which handles login requests, and the second is the dashboard ...
0
votes
0
answers
417
views
Two factor authentication using Identity server 4 asp.net Core, how to increase the expiry time from default 6 minutes to 30 minutes
Asp.Net Core Identity Server 4 is used for authentication. Am using the Identity Server 4 DLL in project and all methods like UserManager.GenerateTwoFactorTokenAsync.
I need to change the default ...
1
vote
0
answers
84
views
RBAC in ASP .NET
I'm using asp .net idneitty and duende identity server so i have 2 tables in my data base ASPNETROLES and ApiScope (api1.read ,api1.write , .....) my probleme is that i want to assign those scopes to ...
0
votes
1
answer
292
views
Email confirmation token is not working in Identity Server
I am trying to implement email confirmation/verification feature for my identity server users. In my case i have 2 apps, one is for Web API to add Identity server users and another is for a web app to ...
0
votes
1
answer
795
views
How to initiate logout process from External Identity provider programmatically
I'm modifying some code which uses IdentityServer4, I have this scenario where the callback action method has to handle UserNotFound exception during login process, in this case I would like to logout ...