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',
|
type: 'Oauth2Provider',
|
||||||
enable: env('AUTH_OAUTH2_ENABLE', true),
|
enable: env('AUTH_OAUTH2_ENABLE', true),
|
||||||
|
|
||||||
|
@ -18,3 +18,7 @@ SSL_CERT_KEY=cert.key
|
|||||||
|
|
||||||
#for development, AUTH_FLITTER_ENABLE should be true
|
#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