Oauth credentials in Google Admin Console vs Developers Console

1 view
Skip to first unread message

Kimber Warden via StackOverflow

unread,
Oct 6, 2016, 6:30:05 PM10/6/16
to google-appengin...@googlegroups.com

I have a web app that needs to use Oauth 2 to authenticate with Google Apps for Education. I am the admin for the Google domain, as well as the developer, and so I have access to the Admin Console and the Developers Console. Each console has a method for generating an Oauth client ID and secret, and I've done it in both, but I don't know which one to use. I've tried using both of the ID/secret pair, but I keep getting an "unauthorized" error in my app.

If I could at least know for sure I'm using the correct pair, it would help me debug my app.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/39906571/oauth-credentials-in-google-admin-console-vs-developers-console

abielita via StackOverflow

unread,
Oct 7, 2016, 6:30:06 AM10/7/16
to google-appengin...@googlegroups.com

Based from this documentation, when you create your application, you register it using the Google Cloud Platform Console. Google then provides information you'll need such as a client ID and a client secret. I guess you need to use the client ID and secret you got from Developer Console if you'll be using the Google Classroom API. You can also check on this link.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/39906571/oauth-credentials-in-google-admin-console-vs-developers-console/39915063#39915063
Reply all
Reply to author
Forward
0 new messages