Google OAuth for IOS


Hi all! Bit of dissonance in the Google OAuth 2.0 flow & the marketplace Extension directions for mobile apps.

  1. If you're developing for mobile, Google doesn't offer a client secret. Should I leave that field blank in the env variables?
  2. And what to put for the redirect URI, which it looks like I pass along in the body of my GET request to /oauth/google/init?

I followed the live demo, which led to:
'Redirect URI:
This value would change to your own hostname if you were using this extension within your own project.'

So seems like the answer to (2) is my 'hostname', but where's that stored? Is hostname just my project Base URL?

2 replies