« first day  last day (15 days later) » 

10:38 AM
ok
so I looked in the log
your client is returning a 500 error exceptions
    <h1>An unhandled exception occurred while processing the request.</h1>
        <div class="titleerror">Exception: Failed to retrieve access token.</div>
            <p class="location">Unknown location</p>
        <div class="titleerror">Exception: An error was encountered while handling the remote login.</div>
            <p class="location">Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler&lt;TOptions&gt;.HandleRequestAsync()</p>
    <ul id="header">
        <li id="stack" tabindex
so, that means you got some issue in your client setup, as you should notget a 500 if there was not something out of the ordinary
i would look at your setup code in startup.cs and remove any event handlers
wait
I looked further
so, the user authenticates to localhost 44348 and it redirects the browser back to the lcient
what the client then should do is to ask 44348 for the access token to use.
dont know how your setup is done, but in my setups I let IdentityServer do all the talking with the external provider, so the access token the client gets is the one from IdentityServer, not from facebok/mintplayer
IdenityServer should shield the clients (act like a proxy) ,so that the clients dont need to deal with external providers.
 
 
2 hours later…
12:45 PM
Hi, I've used this workflow already with Facebook, Twitter, Microsoft, GitHub and from the Identity-side it should be fine
The issue definitely resides in the project implementing IdentityServer
I enabled logging like you said:

services.AddLogging(options =>
{
options.AddConsole();
});
And there is indeed more logging now in the output window
[13:47:54 Debug] IdentityServer4.Hosting.IdentityServerAuthenticationService
Augmenting SignInContext
[13:47:54 Debug] IdentityServer4.Hosting.IdentityServerAuthenticationService
Adding idp claim with value: local
[13:47:54 Debug] IdentityServer4.Hosting.IdentityServerAuthenticationService
Adding amr claim with value: pwd
[13:47:54 Information] Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler
AuthenticationScheme: Identity.Application signed in.
[13:47:58 Debug] IdentityServer4.Hosting.EndpointRouter
So I seem to get a token validation error:
[13:48:02 Error] IdentityServer4.Validation.TokenRequestValidator
 
 
3 hours later…
3:27 PM
you typically add and configure logging in program.cs
you can also set the different logging levels, set it to debug to see even more things
 

« first day  last day (15 days later) »