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

Added condition that makes OAuth authentication optional #14

Merged
merged 1 commit into from
May 18, 2022

Conversation

glaubervila
Copy link
Contributor

Adicionei uma condição no settings.py para só habilitar o github oauth caso a variavel SOCIAL_AUTH_GITHUB_ORG_KEY tenha valor.
Deixei no env_template a variavel comentada por default. isso é para facilicar o ambiente do desenvolvedor que não precisar ter o OAuth configurado e também o ambiente de testes automatizados.

Importante Alterei as variaveis de config do banco, substitui SQL_ por DB_ só para ficar igual aos outros apps.

@glaubervila glaubervila merged commit 5e2613d into main May 18, 2022
@glaubervila glaubervila deleted the feat/optional_oauth branch May 18, 2022 15:27
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

Successfully merging this pull request may close these issues.

2 participants