mirror of
https://github.com/YunoHost-Apps/dex_ynh.git
synced 2024-09-03 18:26:22 +02:00
Merge pull request #2 from Limezy/correct-callback
Correct callback URI + updates
This commit is contained in:
commit
b605ff0c57
3 changed files with 8 additions and 15 deletions
|
@ -49,6 +49,6 @@ connectors:
|
|||
staticClients:
|
||||
- id: __OIDC_NAME__
|
||||
redirectURIs:
|
||||
- __OIDC_CALLBACK__
|
||||
- https://__OIDC_CALLBACK__
|
||||
name: __OIDC_NAME__
|
||||
secret: __OIDC_SECRET__
|
||||
|
|
|
@ -117,9 +117,8 @@ ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
|
|||
pushd "$final_path"
|
||||
# Setup go exe and environnement
|
||||
ynh_use_go
|
||||
"$ynh_go" env
|
||||
# Build server from source
|
||||
make build
|
||||
make build 2>&1
|
||||
# Setup a nice Yunohost logo
|
||||
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
|
||||
popd
|
||||
|
|
|
@ -85,14 +85,6 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." -
|
|||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading PHP-FPM configuration..." --time --weight=1
|
||||
|
||||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config
|
||||
|
||||
#=================================================
|
||||
# SPECIFIC UPGRADE
|
||||
#=================================================
|
||||
|
@ -104,10 +96,12 @@ ynh_script_progression --message="Building the sources (it will take some time).
|
|||
ynh_exec_warn_less ynh_install_go --go_version=$GO_VERSION
|
||||
|
||||
pushd "$final_path"
|
||||
# Build the sources
|
||||
# Setup go exe and environnement
|
||||
ynh_use_go
|
||||
unset GOPATH
|
||||
make build
|
||||
# Build server from source
|
||||
make build 2>&1
|
||||
# Setup a nice Yunohost logo
|
||||
cp /usr/share/yunohost/admin/img/logo.08bab97e.png web/themes/light/logo.png
|
||||
popd
|
||||
|
||||
ynh_remove_go
|
||||
|
@ -145,7 +139,7 @@ ynh_use_logrotate --non-append
|
|||
#=================================================
|
||||
ynh_script_progression --message="Integrating service in YunoHost..." --time --weight=1
|
||||
|
||||
yunohost service add $app --description="A short description of the app" --log="/var/log/$app/$app.log"
|
||||
yunohost service add $app --description="OpenID Connect Provider" --log="/var/log/$app/$app.log"
|
||||
|
||||
#=================================================
|
||||
# START SYSTEMD SERVICE
|
||||
|
|
Loading…
Add table
Reference in a new issue