Setup OpenID
This commit is contained in:
parent
72cbc3e003
commit
9eb4dc635a
@ -101,3 +101,5 @@
|
|||||||
SECRET_KEY: "{{ secret_key}}"
|
SECRET_KEY: "{{ secret_key}}"
|
||||||
USER_GID: "{{ gitea_user_guid }}"
|
USER_GID: "{{ gitea_user_guid }}"
|
||||||
USER_UID: "{{ gitea_user_uid }}"
|
USER_UID: "{{ gitea_user_uid }}"
|
||||||
|
ENABLE_OPENID_SIGNIN: "true"
|
||||||
|
ENABLE_OPENID_SIGNUP: "false"
|
||||||
|
@ -67,6 +67,10 @@ setup_app_ini() {
|
|||||||
crudini --set "$app_ini" security SECRET_KEY "${SECRET_KEY}"
|
crudini --set "$app_ini" security SECRET_KEY "${SECRET_KEY}"
|
||||||
|
|
||||||
crudini --set "$app_ini" oauth2 JWT_SECRET "${JWT_SECRET}"
|
crudini --set "$app_ini" oauth2 JWT_SECRET "${JWT_SECRET}"
|
||||||
|
|
||||||
|
crudini --set "$app_ini" openid ENABLE_OPENID_SIGNIN "${ENABLE_OPENID_SIGNIN}"
|
||||||
|
crudini --set "$app_ini" openid ENABLE_OPENID_SIGNUP "${ENABLE_OPENID_SIGNUP}"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
|
Reference in New Issue
Block a user