Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will the login functionality built into the Users API stop working on April 20th?

I am currently using the Users API (this one here) with the Go language on my Google App Engine application. My users are getting the warning message when they first grant permissions that says "OpenID 2.0 for Google accounts is going away. Developers should migrate to OpenID Connect by April 20, 2015." But I can't find any warnings in the documentation for the Users API anywhere saying that anything will stop working, like I do all throughout other sections regarding OpenID 2.0 (here).

I am using very little of the Users API code, just to create the login urls like this:

url, _ := user.LoginURLFederated(c, return_url, "www.google.com/accounts/o8/id")

And to read the users' email addresses, like this:

u := user.Current(appengine.NewContext(r))
email := u.Email

Do I need to worry about migrating, or will the Users API handle everything without failing after April 20th?

like image 712
Blair Connolly Avatar asked Mar 31 '15 15:03

Blair Connolly


People also ask

Is Dynamics 365 being discontinued?

Effective April 1, 2021, Dynamics 365 – Gamification is deprecated. Until September 30, 2021, Microsoft provided limited support for this solution. From October 1, 2021, the Dynamics 365 – Gamification solution won't be functional.

What is OAuth 2.0 authentication in REST API?

Using OAuth 2.0, it is possible for the application to access the user's data without the disclosure of the user's credentials to the application. The API will grant access only when it receives a valid access token from the application.

Should I use OAuth2 for my API?

You only really need OAuth2 and OpenID Connect if you'd like your users to give consent ("i.e. I want to allow this app access to my personal data"). You do not need OAuth2 to generate a JSON Web Token, a Personal Access Token, a Native Mobile App Session Token.


2 Answers

Please read this information: https://developers.google.com/identity/protocols/OpenID2Migration https://developers.google.com/identity/protocols/OpenIDConnect https://developers.google.com/identity/sign-in/auth-migration

You may also find this forum post helpful.

Apps that use user.LoginURLFederated in conjunction with Google Accounts will stop working. These apps need to follow the information in the first link above to migrate.

Apps can continue to use user.LoginURLFederated for use with various other third-party OpenID2 service providers.

like image 131
Glenn Lewis Avatar answered Sep 19 '22 13:09

Glenn Lewis


So, it turns out that the answer is "YES!". Definitely stopped working. The older development versions of my website now take you to an error page when you try to sign in. Luckily I had moved away from the User package before the deadline to the much buggier Google Sign-In for Websites.

like image 25
Blair Connolly Avatar answered Sep 20 '22 13:09

Blair Connolly