All Questions
Tagged with identityserver4 asp.net-core-mvc
125
questions
0
votes
0
answers
44
views
Identity Server 4 ASP.NET Core 3.1 MVC unable to render JavaScript
I have an Identity Server 4 with an ASP.NET Core 3.1 MVC project and would like to add an external script into the _Layout.cshtml file. The JS file is being ran, however it is not working as expected. ...
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
2
answers
66
views
IS4 MVC with multiple APIs communication problem
I'm refactoring a monolithic ASP.NET Core MVC application. What I have so far is I added IS4 and extracted part of logic from MVC to new API.
This is how I set up IS4:
public static IEnumerable<...
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 ...
1
vote
0
answers
223
views
Dual authentication with ASP.NET Core MVC
I have an ASP.NET Core MVC web application and I want to allow my users to authenticate using identity server 4 and Azure Active Directory. All my internal users (company users) need to use Azure AD ...
0
votes
1
answer
49
views
Use IdentityServer4 to control access to different methods in the same WebApi
Ideal effect flowchart
For the current understanding of IdentityServer4, I found that the basic interface permission configuration is more suitable for permission control projects with multiple WebApi
...
2
votes
0
answers
737
views
Skoruba IdentityServer4 admin Simple Project
I want to add an MVC project to the Skoruba template as a new client. In the Sturtup settings of the Mvc project, I did the following:
sdfsdfpublic void ConfigureServices(IServiceCollection services)
...
1
vote
1
answer
2k
views
Asp.net identity. Remember me, don't work
I create a new ASP.NET Core 3.1 MVC project. Authentication change: store user accounts in-app.
Adding new scaffolded item -> Identity -> Choose Account\login and Register
Setting:
...
0
votes
0
answers
527
views
How to make a POST request without overposting the entire ViewModel, but preserving the current ViewModel data in the View in case of failrue
I have an API backend project, Identity Provider made with Identity Server 4 and MVC client project.
Let's assume for simplicity that I have OrganizationDetailsViewModel looking like stated below with ...
0
votes
1
answer
3k
views
Retrieving access token for UserInfo
I am wanting to be able to access the UserInfo endpoint /connect/userinfo but when I do so it says 401... implying authentication needed. So I ran into this article that talks about how we can ...
1
vote
0
answers
648
views
Asp.net core identity custom token provider TokenLifeSpan does not work when hosted in IIS
I have an asp.net core 3.1 MVC project with IdentityServer4.AspNetIdentity 3.1.2. When a user has created, an email with a link including confirming email token is sent using worker service to the ...
1
vote
2
answers
1k
views
Identityserver 4 in docker compose The remote certificate is invalid according to the validation procedure
I am trying to configure IdentityServer 4 to work in Docker the identity server container itself is running but I can't connect to it from the clients.
My application consists of:
API
Client
...
0
votes
1
answer
3k
views
identity server 4 Logout from all clients using FrontChannelLogoutUri not working
Here I want to achieve the SSO feature. if I logout from Identity server all clients connected to that with that userid should be logged out. But it is working for me.
I am using Identity Server ...
3
votes
2
answers
20k
views
identityserver4 the remote certificate is invalid because of errors in the certificate chain: untrustedroot
I am hosting my IdentityServer, Web API and MVC client apps all with IIS server, under HTTPS. When I run the my MVC client I get the following error back (note - 6009 is the port of my MVC client and ...
1
vote
1
answer
179
views
angular 10 'oidc-client' / IdentityServer4 .netCore 3.1
I have issues calling api rest from client webSite angular 10, can't call request with Authorize attribute (get a 401 Unauthorized).
Environment :
- IdentityServer4 mvc .netCore 3.1
- Web.Api mvc ....