0
GarethWright created
Prerequisites
- What is your product version? 9.0.1
- What is your product type (Angular or MVC)? ANGULAR
- What is product framework type (.net framework or .net core)? .NetCore
Console app gets a token successfully but returns 401 Unauthorised when connecting to the api endpoint from a remote ip. Works fine if connecting via localhost. I think this may be something to do with IdentityServer being configured to use .AddDeveloperSigninCredentials but I have no idea how I would configure this to work in a multi tenant environment where the host is at https://api.{tenant_name}.domain.com
1 Answer(s)
-
0
Hi @GarethWright
Could you explain, how do you send the token to the remote server from your client ? If you haven't enabled Identity Server, you can take a look at https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Features-Angular-Token-Based-Authentication
Thanks