Skip to content
Snippets Groups Projects
Verified Commit e9cdff96 authored by Nicolas Lenz's avatar Nicolas Lenz :snowflake:
Browse files

feat(sapphire): add OIDC to gallery

parent 83dceee0
No related branches found
No related tags found
No related merge requests found
......@@ -25,10 +25,21 @@
PHOTOPRISM_DATABASE_SERVER = "/run/mysqld/mysqld.sock";
PHOTOPRISM_DATABASE_NAME = "photoprism";
PHOTOPRISM_DATABASE_USER = "photoprism";
PHOTOPRISM_OIDC_URI = "https://auth.eisfunke.com/application/o/eisfunkegallery/";
PHOTOPRISM_OIDC_CLIENT = "bgZd35W6isBUnkDnLIqDA1HGlVbjNdauxfAZvxvE";
#PHOTOPRISM_OIDC_SECRET is set in environmentfile
PHOTOPRISM_OIDC_PROVIDER = "EisfunkeAuth";
PHOTOPRISM_OIDC_ICON = "https://auth.eisfunke.com/static/dist/extra/logo/favicon.png";
# redirects to auth if logged out, normal login page is still available at: https://gallery.eisfunke.com/library/login
PHOTOPRISM_OIDC_REDIRECT = "true";
# this is okay to allow because newly registered users are guests by default, who can only view things explicitly shared with them
PHOTOPRISM_OIDC_REGISTER = "true";
};
};
# sponsor features are enabled here
# sponsor features and OIDC secret
systemd.services.photoprism.serviceConfig.EnvironmentFile = config.age.secrets.server_gallery.path;
# sadly PhotoPrism doesn't support PostgreSQL
......
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment