-
Notifications
You must be signed in to change notification settings - Fork 0
SETA dev GitHub OAuth App
Andrei P edited this page Mar 27, 2023
·
3 revisions
Login into your GitHub account and visit GitHub Developers page.
Follow instructions at Creating an OAuth App with the these entries for your new Seta app for development:
- In "Homepage URL", type http://localhost/seta-ui
- In "Authorization callback URL", type the callback URL: http://localhost/login/callback/github
After registering this OAuth application, go to this new application page on GitHub website (you can find it at any time at GitHub Developers page) and generate a new client secret - store this value in a secure location.
Fill in the environment variables within the file .env.dev from seta-compose folder:
- set GITHUB_CLIENT_ID variable with the value of Client ID
- set GITHUB_CLIENT_SECRET variable with the value of the generated client secret.
Next time running ./dev-up.sh seta-ui in the seta-compose folder, these environmental variables will be set for the 'ui' container and ready to use in the Seta web application for GitHub authentication.