The following are the standard environmental variables used by Fin and it's core services.
Default: http://localhost:3000
This should be the root url (domain name) of your Fin service.
Secret used to encode all Fin JWT tokens
Issuer to be used when validating JWT tokens. ex: library.ucdavis.edu
Default: 1 day
How long should the JWT token be valid
Default: fin-jwt
Name of cookie to store JWT token
Default: fcrepo
Host name of the fcrepo
service
Default: info
Default: changeme
Used to encrypt your cookies
Default: 7 days
Comma separated list of origins you would like to grant access to FIN. Requests from these origins will set proper CORS headers in the response as well as handle the browser preflight OPTIONS CORS request.
Default: 12 hours
How long to cache GET requests to /fcrepo containers
Example: https://cas.ucdavis.edu/cas
Used by the AuthorizationService CAS
Defaults to the root domain of the CAS_URL. So if the CAS_URL = https://cas.ucdavis.edu/cas
, the CAS_AGENT_DOMAIN will be ucdavis.edu
. A user logging into the UC Davis CAS with username alice would login to Fin as alice@ucdavis.edu.
Default: redis
Default: 6379
Default: local
Used by the basic-auth service. Domain to append to agent (username) string. ex: bob@local