mirror of
https://github.com/YunoHost-Apps/dex_ynh.git
synced 2024-09-03 18:26:22 +02:00
Test
This commit is contained in:
parent
e5f11cba85
commit
65a74f0f27
3 changed files with 6 additions and 6 deletions
|
@ -47,8 +47,8 @@ connectors:
|
|||
# Unfortunately the api is too complex to be used here
|
||||
# As a consequence we have to setup client as staticClient, which means we will need one Dex instance per client app
|
||||
staticClients:
|
||||
- id: __NAME__
|
||||
- id: __ID__
|
||||
redirectURIs:
|
||||
- https://__CALLBACK__
|
||||
name: __NAME__
|
||||
name: __ID__
|
||||
secret: __SECRET__
|
||||
|
|
|
@ -36,7 +36,7 @@ ram.runtime = "50M"
|
|||
type = "path"
|
||||
default = "/dex"
|
||||
|
||||
[install.name]
|
||||
[install.id]
|
||||
ask.en = "Name of the app you want to connect to the OIDC auth flow"
|
||||
ask.fr = "Nom de l'application que vous souhaitez connecter au flux d'authentification OIDC"
|
||||
type = "string"
|
||||
|
|
|
@ -30,9 +30,9 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app
|
|||
#=================================================
|
||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||
|
||||
if [ -z "${name:-}" ]; then
|
||||
name=$oidc_name
|
||||
ynh_app_setting_set --app=$app --key=name --value=$name
|
||||
if [ -z "${id:-}" ]; then
|
||||
id=$oidc_name
|
||||
ynh_app_setting_set --app=$app --key=id --value=$id
|
||||
ynh_app_setting_delete --app=$app --key=oidc_name
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue