IMPORTANT!
This forum is now archived. Click here for the New Support Forum
Adding support for external login provider like Google
Quote from Malssuk on May 15, 2019, 8:10 amMy project is based on QuickApp Pro - kitchensink.
I've added Google external login provider from this guide. It has several codes like...
.AddGoogle("google", options => { options.ClientId = "[client id]"; options.ClientSecret = "[client secret\"; options.SignInScheme = IdentityConstants.ExternalScheme; }); ;But, I'm lost here how to redirect the client to /connect/token to get access, refresh tokens and show logged-in page as the original quickapp login process does.
With the mixed codes, I've also faced the following exception and it gives me the feeling that I'm on the wrong track.InvalidOperationException: The authentication handler registered for scheme 'Bearer' is 'IdentityServerAuthenticationHandler' which cannot be used for SignInAsync.Is there any simple way or example that I can add external login provider to quickapp pro?
My project is based on QuickApp Pro - kitchensink.
I've added Google external login provider from this guide. It has several codes like...
.AddGoogle("google", options => { options.ClientId = "[client id]"; options.ClientSecret = "[client secret\"; options.SignInScheme = IdentityConstants.ExternalScheme; }); ;
But, I'm lost here how to redirect the client to /connect/token to get access, refresh tokens and show logged-in page as the original quickapp login process does.
With the mixed codes, I've also faced the following exception and it gives me the feeling that I'm on the wrong track.
InvalidOperationException: The authentication handler registered for scheme 'Bearer' is 'IdentityServerAuthenticationHandler' which cannot be used for SignInAsync.
Is there any simple way or example that I can add external login provider to quickapp pro?
Quote from Malssuk on May 18, 2019, 4:58 amI've found https://github.com/IdentityServer/IdentityServer4/issues/356
which guide me to https://www.linkedin.com/pulse/securing-net-core-web-api-identityserver4-using-owner-dalvandi-1/?trk=mp-author-card
and I'm working on this...
I've found https://github.com/IdentityServer/IdentityServer4/issues/356
which guide me to https://www.linkedin.com/pulse/securing-net-core-web-api-identityserver4-using-owner-dalvandi-1/?trk=mp-author-card
and I'm working on this...
IMPORTANT!
This forum is now archived. Click here for the New Support Forum