Date: 2025-04-26 08:58:05
Score: 2
Natty:
Here is step by step procedure to setup google OAuth in Aurinko
- Follow this guide on Aurinko official docs to create a project on google console Aurinko Official Docs Guidelines or just create on your own and create a web application client.
- Copy its secret and id and put it in the aurinko settings
Aurinko Google OAuth Settings
- Notice the Redirect URI in the settings, copy this url from the copy icon and paste it in the field in the Aurinko Settings and also in the redirect URls of your google web client in your project like this: Redirect URls. Also paste your callback in the google project in my case it's localhost:3000/api/aurinko/callback.
- Make sure you enter the same callback in the aurinko settings as follows: Aurinko Callback
- Also add the allowed origins/Trusted Domains in the Aurinko Settings like this: trusted domains
- In th end, make sure that your google app is published if it is not in publish mode then just add your test users under audience tab as follows and test your integeration with those accounts: test accounts on google
Reasons:
- Blacklisted phrase (1): this guide
- Long answer (-0.5):
- No code block (0.5):
- Low reputation (1):
Posted by: Hamid Khan