Skip to main content

All Questions

0 votes
1 answer
172 views

why offline_access scope is needed to request refresh token in IdentityServer (OAuth2)?

I have to set AllowOfflineAccess = true to get refresh token public static class Config { public static IEnumerable<Client> Clients => new Client[] { new ...
user25521292's user avatar
0 votes
0 answers
23 views

How to enable DCR using Duende Identity Server and RSK AdminUI

I want to use DCR(Dynamic Client Registration) using the Duende Identity Server. I am also using Rocksolid Knowledge's AdminUI to handle Identity Server. But when I am trying to make an API call to ...
Mayur Dighe's user avatar
0 votes
0 answers
30 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 ...
GgGoodGodGg's user avatar
0 votes
0 answers
21 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 ...
CuriousCat11's user avatar
1 vote
1 answer
104 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 ...
levent41's user avatar
0 votes
1 answer
221 views

Identity Server: Refresh Token for the currently Authenticated User

Authentication configuration: services.AddAuthentication(options => { options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme; options.DefaultChallengeScheme = ...
KA-Yasso's user avatar
  • 401
-1 votes
1 answer
1k 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 ...
Omer Faruk KAYA's user avatar
1 vote
0 answers
114 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 ...
Chris Gilbert's user avatar
0 votes
0 answers
26 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(...
Surya Partap Singh's user avatar
0 votes
0 answers
44 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 :...
Tim A's user avatar
  • 43
0 votes
1 answer
1k 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 ...
Gopal Zadafiya's user avatar
1 vote
1 answer
153 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 ...
Vlad Barkovsky's user avatar
1 vote
0 answers
91 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 ...
xxxyyy's user avatar
  • 29
0 votes
1 answer
362 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 ...
Aditya's user avatar
  • 21
0 votes
1 answer
940 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 ...
DayTimeCoder's user avatar
  • 4,332

15 30 50 per page
1
2 3 4 5
37