Google OAuth not working

After I set up the oauth plugin and get filled in the appropriate client id and client secret on the girder oauth plugins page, I get this error when trying to register an account using google. It looks like the plugin is trying to use a deprecated API from google.

\"error\": {
    \"code\": 403,
    \"message\": \"Legacy People API has not been used in project 149423623306 before or it is disabled. Enable it by visiting then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.\",
    \"status\": \"PERMISSION_DENIED\"

I found that it is not possible for me to activate the Legacy People API for a project at this time according to google’s documentation:

Can I enable the Legacy People API for a new developer project?
No, the Legacy People API cannot be enabled for new developer projects. Use recommended alternatives such as Google Sign-in or Google People API.

Any advice on how I should proceed?


Hi @oleks_korshak

Thanks for bringing this up. I’ve just fixed the underlying bug here:

A new release of Girder’s OAuth plugin has also been made, which includes this fix: v3.0.5: If you install that version or later, it should resolve your issue.

If you continue to have any problems, please file a bug on Girder’s issue tracker: . It should get a more rapid response there.