Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify OAUTH usage :) #1

Closed
skx opened this issue Jan 24, 2020 · 1 comment
Closed

Simplify OAUTH usage :) #1

skx opened this issue Jan 24, 2020 · 1 comment
Assignees

Comments

@skx
Copy link
Owner

skx commented Jan 24, 2020

Looking at this:

https://stackoverflow.com/questions/25382821/how-to-send-email-through-gmail-go-sdk

Suggests I can authenticate via Oauth client ID + secret, which we get when we create the project.

That simplifies setup because:

  • No need to download a JSON file
  • No need to do the browser-dance.

If true this is awesome. Test it.

@skx skx self-assigned this Jan 24, 2020
@skx
Copy link
Owner Author

skx commented Jan 24, 2020

Of course it doesn't work - OAUTH will initiate a callback to "our" server. Which doesn't exist. D'oh.

OAUTH really is horrid :/

@skx skx closed this as completed Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant