Task #16 - Oauth setup with google, microsoft, and apple not possible. Disabled buttons, reenabled local auth.

This commit is contained in:
QiTao 2020-02-08 00:11:43 -06:00
parent b4d16d764e
commit 8b3b6ffb8c
2 changed files with 8 additions and 4 deletions

View File

@ -42,19 +42,23 @@ html
.container#login
.login-container
div
a.btn.btn-light.btn-lg(href="/auth/flitter/login")
i.icons.fas.fa-sign-in-alt
span Local Login
div
a.btn.btn-light.btn-lg(href="/auth/github_oauth/login")
i.icons.fab.fa-github
span Login with GitHub
div
a.btn.btn-light.btn-lg(href="google.com")
a.btn.btn-light.btn-lg.disabled(href="google.com")
i.icons.fab.fa-google
span Login with Google
div
a.btn.btn-light.btn-lg(href="microsoft.com")
a.btn.btn-light.btn-lg.disabled(href="microsoft.com")
i.icons.fab.fa-microsoft
span Login with Microsoft
div
a.btn.btn-light.btn-lg(href="microsoft.com")
a.btn.btn-light.btn-lg.disabled(href="microsoft.com")
i.icons.fab.fa-apple
span Login with Apple

View File

@ -17,7 +17,7 @@ SSL_CERT_FILE=cert.pem
SSL_CERT_KEY=cert.key
#for development, AUTH_FLITTER_ENABLE should be true
#AUTH_FLITTER_ENABLE=true
AUTH_FLITTER_ENABLE=true
#insert client ID for oauth
AUTH_OAUTH2_CLIENT_ID=