mirror of
https://github.com/YunoHost-Apps/funkwhale_ynh.git
synced 2024-09-03 18:36:24 +02:00
fix sso issues
This commit is contained in:
parent
3e44180708
commit
6e9cba8011
3 changed files with 5 additions and 14 deletions
|
@ -9,7 +9,7 @@ Installation requires a dedicated domain for now. I hope subpath installation wi
|
|||
|
||||
## Admin
|
||||
|
||||
Admin password is **funkwhale**, login is the user you provided at installation.
|
||||
The admin uses the login you provided at installation. The password is the same you use for YunoHost.
|
||||
|
||||
The admin interface is accessible with the address: your.domain.fr/api/admin
|
||||
|
||||
|
|
|
@ -226,15 +226,11 @@ chmod -R 755 "$final_path/front/dist/"
|
|||
# SETUP SSOWAT
|
||||
#=================================================
|
||||
|
||||
if [ "$is_public" -eq 0 ]
|
||||
then # Remove the public access
|
||||
ynh_app_setting_delete "$app" skipped_uris
|
||||
fi
|
||||
# Make app public if necessary
|
||||
if [ "$is_public" -eq 1 ]
|
||||
then
|
||||
# unprotected_uris allows SSO credentials to be passed anyway.
|
||||
ynh_app_setting_set "$app" unprotected_uris "/"
|
||||
# makes sure no SSO credentials to be passed
|
||||
ynh_app_setting_set "$app" skipped_uris "/"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -213,17 +213,12 @@ chmod -R 755 "$final_path/front/dist/"
|
|||
# SETUP SSOWAT
|
||||
#=================================================
|
||||
|
||||
if [ "$is_public" -eq 0 ]
|
||||
then # Remove the public access
|
||||
ynh_app_setting_delete "$app" skipped_uris
|
||||
fi
|
||||
# Make app public if necessary
|
||||
if [ "$is_public" -eq 1 ]
|
||||
then
|
||||
# unprotected_uris allows SSO credentials to be passed anyway
|
||||
ynh_app_setting_set "$app" unprotected_uris "/"
|
||||
# makes sure no SSO credentials to be passed
|
||||
ynh_app_setting_set "$app" skipped_uris "/"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue