enabled github oauth
This commit is contained in:
parent
7a45538d69
commit
e5f3410b8b
@ -97,7 +97,7 @@ const auth_config = {
|
||||
},
|
||||
},
|
||||
|
||||
example_oauth: {
|
||||
github_oauth: {
|
||||
type: 'Oauth2Provider',
|
||||
enable: env('AUTH_OAUTH2_ENABLE', true),
|
||||
|
||||
|
@ -17,4 +17,8 @@ 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=
|
||||
AUTH_OAUTH2_CLIENT_SECRET=
|
Loading…
Reference in New Issue
Block a user