See the official documentation.
- Register your application from
https://[team].esa.io/user/applications- Redirect URI:
http://localhost:3000/auth/esa/callback
- Redirect URI:
- Set the following environment variables
ESA_KEY: OAuth2 Client IDESA_SECRET: OAuth2 Secret
- Run
make - Open http://localhost:3000
See https://github.com/winebarrel/goth-esa/blob/main/_example/main.go