teletraan
teletraan copied to clipboard
Google OAUTH2 Support
This provides the ability to specify Google’s OAUTH2 service and have Teletraan auth against it. If the option is not explicitly set, the default is to fall back to Pinadmin as the OAUTH2 provider.
Fixed spellings, formatting (quotes), and added SECRET_KEY environment variable to default settings file (since it is a required variable for OAUTH2).
While I have tested this against Google's endpoints, I have not been able to (for obvious reasons) test against pinadmin.
This should help solve questions like: https://github.com/pinterest/teletraan/issues/161
Hey! Cool fix! Thanks for the pull request! We're going to take another look at this and experiment with our internal use vs OpenID vs other providers and how we want to handle defining providers and their response formats. Will put a hold on merging this until that is done.
👍 Sounds good to me! Looking forward to see what your team comes up with
Moved to a switch rather than conditional blocks for cleanliness and made OpenID the default operation.
Hi Teletraan team,
Would you please merge this branch.
will double check the fix and update
could you take a look at https://github.com/pinterest/teletraan/pull/285, I believe it handles the openid ( and internal pinterest case ) easier.
Close as PR is too old.