-
Notifications
You must be signed in to change notification settings - Fork 25.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instructions followed exactly still lead to errors (even if Google+ API is enabled) #10684
Comments
I'll also add this to the tracking issue for a look 👀. #1470 ... something else came to mind. There was some talk of Google+ auth changing ... depreciated? We should track down that engineering issue and see what's what. |
With google+ I have the code in c#. Is there a c# version for the new google authentication |
There was some talk about that approach on that issue. I think the issue was in aspnet/AspNetCore repo issues, but I'm not 100% sure about that. It might be elsewhere in the engineering repos. The issue discusses the depreciation of Google+ and some alternative ways to deal with Google auth. I'm 🏃 at the moment and can't look, but I'll come back later and see if I can find that issue and post the link here. |
@GBPhilip Found it! (actually, it wasn't that hard to track down ... it was in the aspnet/AspNetCore repo issues). See ...... |
Thanks, now I need to work out how to make sure I google + api so when I test it I know it is going to the right place.
From: Luke Latham
Sent: 03 February 2019 17:38
To: aspnet/Docs
Cc: GBPhilip; Mention
Subject: Re: [aspnet/Docs] Instructions followed exactly still lead to errors(even if Google+ API is enabled) (#10684)
@GBPhilip Found it! (actually, it wasn't that hard to track down ... it was in the aspnet/AspNetCore repo issues). See ......
dotnet/aspnetcore#6486
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
It's in the first paragraph. For more information and temporary mitigations for ASP.NET Core, see this GitHub issue. This tutorial has been updated with the new setup process. |
You must enable Google+ API and then create credentials for that API before it will work. Otherwise, you will get the error below.
An unhandled exception occurred while processing the request.
HttpRequestException: An error occurred when retrieving Google user information (Forbidden). Please check if the authentication information is correct and the corresponding Google+ API is enabled.
Microsoft.AspNetCore.Authentication.Google.GoogleHandler.CreateTicketAsync(ClaimsIdentity identity, AuthenticationProperties properties, OAuthTokenResponse tokens)
Exception: An error was encountered while handling the remote login.
Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler<TOptions>.HandleRequestAsync()
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: