You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ALS-6655 & ALS-6699
Includes changes from #73
This PR is to allow for admins of pic-sure to easily add new auth
providers. We currently Support:
- Gen3 Fence
- Auth0
- RAS
Admin can edit values in their .env files.
`VITE_AUTH_PROVIDER_MODULE` is the prefix for any authorization
providers you want to use.
We currently support 3 types of authorization providers: AUTH0, Gen3
FENCE, and RAS.
You can add as many authorization providers as you want by adding more`
VITE_AUTH_PROVIDER_MODULE_` variables.
You can have n number of each type of authorization provider. When the
server starts it will automatically add the authorization providers to
the login page if they are enabled.The pattern for adding authorization
providers is as follows:
`VITE_AUTH_PROVIDER_MODULE_<PROVIDER_NAME>_<FIELD>=<VALUE>`
See `.env.example`
Adds new themes & logos
---------
Co-authored-by: Samantha <21109191+srpiatt@users.noreply.github.com>
# This is an example of what your env file should look like.
2
2
# You can copy this file and rename it to .env and fill in the values.
3
+
VITE_PROJECT_HOSTNAME=pic-sure.org
3
4
4
-
PROJECT_HOSTNAME=example.com
5
+
# VITE_AUTH_PROVIDER_MODULE is the prefix for any authorization providers you want to use.
6
+
# We currently support 3 types of authorization providers: AUTH0, Gen3 FENCE, and RAS.
7
+
# You can add as many authorization providers as you want by adding more VITE_AUTH_PROVIDER_MODULE_ variables.
8
+
# You can have n number of each type of authorization provider.
9
+
# When the server starts it will automatically add the authorization providers to the login page if they are enabled.
10
+
# VITE_AUTH_PROVIDER_MODULE_GOOGLE_ALT is an optional field that can be used to specify if the provider should be displayed as an alternative login option.
11
+
# The pattern for adding authorization providers is as follows:
0 commit comments