When trying to use oauth2 with google I received this error > Legacy People API has not been used in project XXXXXXXXX before or it is > disabled. Enable it by visiting > https://console.developers.google.com/apis/api/legacypeople.googleapis.com/overview?project=XXXXXXXXX > > then retry. If you enabled this API recently, wait a few minutes for the > action to propagate to our systems and retry. >
That link to goggle just showed an error, and after some searching it seems the people api is not available for new oauth2 setups. Here are the changes I made for my setup that switches out the people api. https://github.com/web2py/py4web/pull/120 In addition, there is change for SSO._handle_callback to show errors such as what I received above and a way to force https for callback uris. Eric -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/web2py/7e727d8b-773b-49ec-bb46-91feabb3bf3f%40googlegroups.com.