All Questions
Tagged with identityserver4 asp.net-mvc
227
questions
1
vote
0
answers
62
views
Angular and ASP.NET OWIN with Azure AD
I recently came across a challenging problem. I was asked to add Azure Active Directory (AAD) authentication to an Authentication server using ASP.NET OWIN .NET Framework 4.7.2.
Basically I have an ...
0
votes
0
answers
104
views
Migrate Authentication to Identity server with OWIN
I've run into a problem migrating the authentication system of two MVC websites using Framework 4.8. My two sites each had their own authentication system.
I configured my two sites so that they could ...
0
votes
0
answers
89
views
Generate Access Token to call another Api in Identity Server Mvc Controller
In our work, we've got multiple apis and we use Identity Server 4 as the authentication provider. Whenever a FE or BE app needs to call the Api, we just use the AccessToken to call Apis. The Apis ...
0
votes
1
answer
1k
views
IdentityServer4 - Auth error TypeError: Failed to fetch
I am trying to Authenticate and Authorize a simple API using IdentityServer4 but getting an error in Swagger UI. IdentityServer4 is running at https://localhost:44311 while the API is running at https:...
0
votes
1
answer
275
views
Problem with ssl while using wsl and identity server 4
I have developed the simple identity server application with entity framework storage for user credentials and the client app asp.net core MVC with OpenId authentication. It worked properly on the ...
0
votes
1
answer
464
views
Reduce IdentityServer4 access_token length by removing claims in profile service
I am working on IdentityServer4 application. The generated Access_token length is becoming too lengthy due to the claim value added to the context.IssuedClaims. I tried to remove claim type called &...
1
vote
2
answers
2k
views
ASP.NET Core IdentityServer4 - How can I use Client Login Page instead of IdentityServer Login Page?
I have 2 API, 1 MVC Web App and IdentityServer App in my project.
Local ports :
IdentityServer : https://localhost:1000
API 1 : https://localhost:2000
API 2 : https://localhost:3000
Client : https://...
0
votes
2
answers
1k
views
Role based auth with IdentityServer4 and Keycloak 18
After updating to keycloak 18, it expects id_token_hint that equals id_token and post_logout_redirect_uri on sign-out.
For .net client, our keycloak admins created new client scope - csharp-roles that ...
0
votes
1
answer
4k
views
IdentityServer4 throws 500 internal server error when using Authorize attribute on API
I have been trying to figure this out all weekend, but can't seem to get it to work. Please help.
I have setup IdentityServer 4, an MVC application and an API.
I get an access token after login, but ...
0
votes
0
answers
208
views
Connecting to API with access token from IdentityServer - 401 Unauthorized response
I have a MVC project, an identityserver and and API.
I get the accesstoken from identityServer but when I try to make a GET request to my API I get reponse 401 Unauthorized. What have I done wrong?
...
1
vote
2
answers
158
views
identityserver4 local login cause clients logout
User can login to identity server using local account. But this is cause of user sign out from MVC client that uses open id connect for external login and I don't know why exactly!
I checked ...
0
votes
1
answer
1k
views
Problem with logging in via identity server on MVC application
Hello
I am new to ASP .NET identity & identity server.
I have created a MVC application and I would like to connect it through identityserver4 that through identityserver4 you can thus log in to ...
0
votes
1
answer
3k
views
ASP.NET Core 6.0 Web Application not redirecting to identity server on authorization
Setting up a simple testproject for MVC application with OpenIDConnect using IdentityServer4.
The Privacy view is set up with [Authorize], but when I try to navigate to it, it tries to redirect to the ...
1
vote
1
answer
1k
views
How can i get value or check the role from Identity Server 4 to my MVC client?
I have an MVC Client (ASP.NET core) that interacts with Identity Server 4 (with Identity ASP.NET "installed") for all the functions of Login, Registration etc ..., without API.
In the Client ...
0
votes
1
answer
1k
views
Getting 401 Unauthorized with MVC Pages while Identity Razor pages work as expected
Background
I am doing a POC to find out if Angular, Razor and MVC pages work seamlessly in a web application. I started with Visual Studio template named "ASP.NET Core with Angular". I have ...