IMPORTANT!
This forum is now archived. Click here for the New Support Forum
Unable to retrieve users/roles
Quote from speddi on March 8, 2018, 1:15 amI am getting the following error when I go to the users/ roles screen.
LOAD ERROR
Unable to retrieve users from the server. Errors: "error: IDX10803: Unable to obtain configuration from: 'http://localhost:50314/.well-known/openid-configuration'."When I try to do generate the migration script or update the script, I get the following
IdentityServer4.Startup[0]
You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation.
dbug: IdentityServer4.Startup[0]
Using Identity.Application as default scheme for authentication
dbug: IdentityServer4.Startup[0]
Using Identity.External as default scheme for sign-in
dbug: IdentityServer4.Startup[0]
Using Identity.External as default scheme for sign-out
dbug: IdentityServer4.Startup[0]
Using Identity.Application as default scheme for challenge
dbug: IdentityServer4.Startup[0]
Using Identity.Application as default scheme for forbid
Seems like related issue but I am not familiar with it. Any help is much appreciated. Thank you
I am getting the following error when I go to the users/ roles screen.
LOAD ERROR
Unable to retrieve users from the server. Errors: "error: IDX10803: Unable to obtain configuration from: 'http://localhost:50314/.well-known/openid-configuration'."
When I try to do generate the migration script or update the script, I get the following
IdentityServer4.Startup[0]
You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation.
dbug: IdentityServer4.Startup[0]
Using Identity.Application as default scheme for authentication
dbug: IdentityServer4.Startup[0]
Using Identity.External as default scheme for sign-in
dbug: IdentityServer4.Startup[0]
Using Identity.External as default scheme for sign-out
dbug: IdentityServer4.Startup[0]
Using Identity.Application as default scheme for challenge
dbug: IdentityServer4.Startup[0]
Using Identity.Application as default scheme for forbid
Seems like related issue but I am not familiar with it. Any help is much appreciated. Thank you
Quote from Eben Monney on March 16, 2018, 7:45 amNo those two are not related.
It'll be helpful if you provided the complete error stack than only the top level error. The inner errors mostly contain the actual trigger.
To debug I would start with the following:
- Try navigating to http://localhost:50314/.well-known/openid-configuration from the browser and see if that endpoint is up. If you don't get a response crosscheck the address and port configuration in IdentityServer's configuration (see
.AddIdentityServerAuthentication()
options in Startup.cs)- This can also be a security/certificate issue. Are you using the AddDeveloperSigningCredential? (You can check this from Startup.ConfigureServices method). If you have a different certificate configured crosscheck the validity
You can post the complete error message here or send to a mail: support@ebenmonney.com for further assistance.
Also to use SQLServer to save IdentityServer's data rather than have it in memeory please refer to this blog post: https://www.staging8.ebenmonney.com/configure-identityserver-to-use-entityframework-for-storage/.
This will satisfy this notification " You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation."
No those two are not related.
It'll be helpful if you provided the complete error stack than only the top level error. The inner errors mostly contain the actual trigger.
To debug I would start with the following:
- Try navigating to http://localhost:50314/.well-known/openid-configuration from the browser and see if that endpoint is up. If you don't get a response crosscheck the address and port configuration in IdentityServer's configuration (see
.AddIdentityServerAuthentication()
options in Startup.cs) - This can also be a security/certificate issue. Are you using the AddDeveloperSigningCredential? (You can check this from Startup.ConfigureServices method). If you have a different certificate configured crosscheck the validity
You can post the complete error message here or send to a mail: support@ebenmonney.com for further assistance.
Also to use SQLServer to save IdentityServer's data rather than have it in memeory please refer to this blog post: https://www.staging8.ebenmonney.com/configure-identityserver-to-use-entityframework-for-storage/.
This will satisfy this notification " You are using the in-memory version of the persisted grant store. This will store consent decisions, authorization codes, refresh and reference tokens in memory only. If you are using any of those features in production, you want to switch to a different store implementation."
Quote from Al Ve on April 1, 2018, 12:02 pmfor others who might get that too, check your startup class and point your authority to the correct localhost for dev environment. In the case above it should be ->
services.AddAuthentication(IdentityServerAuthenticationDefaults.AuthenticationScheme)
.AddIdentityServerAuthentication(options =>
{
options.Authority = "http://localhost:50314/";
for others who might get that too, check your startup class and point your authority to the correct localhost for dev environment. In the case above it should be ->
services.AddAuthentication(IdentityServerAuthenticationDefaults.AuthenticationScheme)
.AddIdentityServerAuthentication(options =>
{
options.Authority = "http://localhost:50314/";
IMPORTANT!
This forum is now archived. Click here for the New Support Forum