Skip to main content

All Questions

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 ...
Chris Gilbert's user avatar
0 votes
0 answers
92 views

.NET Core IdentityServer4 Resource Owner Password can't call API

I'm developing a WebAPP starting from VS .NET Core WebAPI + Angular Template. I've configured IdentityServer to authentication from Angular Front-End application and everything works fine BUT I need ...
Androidian's user avatar
  • 1,045
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<...
Arthur's user avatar
  • 181
1 vote
1 answer
195 views

Update logged Identity claims when add new claims

I have a .net core web api application with angular. I use AspNetCore Identity. I have a claim table with userId and value colums. The createnewuser method call from angular site, and they call to ...
arthur's user avatar
  • 95
0 votes
0 answers
141 views

Is it possible to customize IdentityUserRole table in asp.net identity server 4?

I need to remove existing Composite primary key(UserId and RoleId) in IdentityUserRole table and add new column 'Id' and also want set that Id column as primary key in asp.net identity server 4?
Shamsudheen's user avatar
1 vote
2 answers
1k views

Installing Quickstart UI for IdentityServer4

I created an empty asp.net core web application (dotnet new web -n <projectname>) and went to the github for IdentityServer4.Quickstart.UI and was followed the instructions to add the quickstart ...
NoviceCoder's user avatar
0 votes
1 answer
205 views

.net core 5.0 with IdentityServer4 returns for api method 404

I setup my initial solution on GitHub. I setup swagger authorization as well as sql db user identity (program picks up correctly seeded data) and program lets me be authorized. But When I call my ...
lonelydev101's user avatar
  • 1,731
0 votes
1 answer
224 views

.net core api with identityserver4 in one project

I am trying to achieve in one project lets called it TablesReachApi to have identityserver (LoaclAuthentication) and swagger definition. I added some test UserController, and implemented swashbuckle, ...
lonelydev101's user avatar
  • 1,731
1 vote
0 answers
561 views

Invalid HTTP request for token endpoint - IdentityServer4 ASP.Net Core 5.0

The connect/token is working good by using swagger, but when I'm trying to use it in postman, an error is showing { "error": "invalid_request" } The Status code: 400 Bad Request. ...
MuthuKumar K's user avatar
1 vote
0 answers
198 views

How get user that is role in project that uses Identityserver4?

I have an asp.net core api project that I want use this api in my android Chat Application.This asp.net core Application uses Idenittyserver4 for registering users.I get the users that in one role ...
mohsen's user avatar
  • 1,791
1 vote
1 answer
802 views

IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationHandler[7] .Bearer was not authenticated

When i run this Asp.Net core webapi using iis express, it's running fine. But if i run this same project using docker container, the error shown: bearer was challenged. IdentityServer4....
MuthuKumar K's user avatar
2 votes
1 answer
6k views

User roles in Azure B2C application

I am building an asp.net core web API project, with Angular client for front-end. We are using azure b2c as our IDP server, (for registration, authentication and related topics). So far the experience ...
Genc Hani's user avatar
0 votes
1 answer
513 views

Add user claims after authentication against IdentityServer 4

I have the following projects: Identity Server 4, with ASP.NET Identity as a user store for all users of all my apps. .NET Core 5 Web API Xamarin app The flow goes like this: User logins from the ...
drmaven's user avatar
  • 47
3 votes
3 answers
3k views

how can I get token from token endpoint without username and password in identityserver4?

I'm using IdentityServer4 for user authentication and authorization in my asp.net core web api.I use this api in android application.My users Signup and Login with username and password with no ...
mohsen's user avatar
  • 1,791
0 votes
1 answer
52 views

Modify identityserver4 authorize

I'm using IdentityServer4 and EF Core in my Blazor WASM project with ASP.NET Core hosted option and in that project I use multiple databases.(dynamic string connection - duplicates of databases) In ...
Idan Fanous's user avatar

15 30 50 per page