All Questions
108
questions
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
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 ...
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 ...
1
vote
1
answer
936
views
What is the best way to implement different User Roles/Permissions depending on "Project"?
Our current API leverages ASP.Net Identity and Policy Based permissions for Authorization. It uses User Roles as claims for this. These claims are intercepted by a ClaimsTransformer class and the user ...
0
votes
1
answer
872
views
GetAuthorizationContextAsync(returnUrl) returns null but I have no idea what I'm missing
I am trying to implement an Identity Server Solution that redirects the user to different Login Views depending on the client application they come from.
To do this, in the AccountController.cs file I ...
6
votes
0
answers
1k
views
A task was canceled at ConfigurationManager.GetConfigurationAsync(CancellationToken cancel) in .NET Core
I have two projects, one on .NET 5 and the other on .NET Core 3.1.
Lately, I got email logging turned on, sending me emails whenever an error is thrown.
Every now and then, I get an email with the ...
0
votes
1
answer
1k
views
I'm using IdentityServer4 and I'm trying to access additional API endpoints on the same server with an Access token, always receiving 401
I'm using .net core 2.2 with IdentityServer 4, trying to access additional API endpoints on the same server with an Access token, always receiving 401.
Startup.cs
services....
3
votes
0
answers
576
views
Blazor WebAssembly App with Individual Accounts and ASP.NET Core Hosted - Object reference not set to an instance of an object - AddSigningCredentials
Creating a new Blazor WebAssembly App with Microsoft Visual Studio 2019 Version 16.11.3 with these specifications: Target Framework .NET 5.0, Authentication Type Individual Accounts and ASP.NET Core ...
0
votes
0
answers
373
views
Check if user already logged in okta on startup of website or application. so that we don't need to login again
I have added one more button apart from regular login button, the button is sing in with okta. when clicked it challange and redirect to okta username and password after that my code execute and login....
0
votes
1
answer
1k
views
HttpContext.Current.User.Identity.IsAuthenticated results in infinite redirect loop when integrating okta openidconnect with .net core project
Here is startup.cs i have configured okta openid connect as per below. please review it
public class Startup
{
public Startup(IConfiguration configuration)
{
Configuration = ...
6
votes
2
answers
8k
views
How do I trust dotnet's dev-cert, in Linux?
I'm working through an online course on building Microservices in .NET - https://www.dotnetmicroservices.com/.
But while the instructor is running on Windows, I'm working on Linux - Linux Mint 20.1 (...
0
votes
1
answer
661
views
Asp .NET Core Identity Server exclude some urls from login redirect
I have got a simple application using Identity server, Web API and Angular. The issue is with the Identity Server redirection. The goal is to exclude some paths for instance: https://localhost:5000/...
4
votes
1
answer
3k
views
identity server 4 Getting 401 Unauthorized with valid access token
I am using Identity server 4 in my .NET 5.0 core API Application. i am getting successful token on local server https://localhost:[port]/connect/token and when i use the bearer token to access ...