-
Notifications
You must be signed in to change notification settings - Fork 3
/
env.example
58 lines (47 loc) · 1.77 KB
/
env.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
######################## NOTE #########################
#* This file describes the AUTHC settings *#
#* Copy this file to a new file called .env *#
#######################################################
################## General Settings ###################
# Server port that AUTHC will listen on.
PORT=3002
# Your server name.
# The URL at which registrations and logins
# should occur (required for passkeys).
ORIGIN=http://localhost:3002
# Redirects
# After a successful login or register profile update,
# redirect the user to your main application UI using
# the supplied URL below.
APPLICATION_ORIGIN=http://localhost:3002/v1/web/home
# After successful new registration redirects the user
# to this URL. If not set uses APPLICATION_ORIGIN.
#REGISTRATION_ORIGIN=
# After a successful login or register profile update,
# redirect the user to your main application UI using
# the supplied URL below.
ADMIN_ORIGIN=http://localhost:3002/v1/admin/dashboard
# JWT Secrets
# Path to the JSON Web Key format key used to sign
# and verify JWTs.
SERVER_KEY_PATH=./serverkey
# Path to the password used to authenticate into the Admin
# API + credentials used for Admin UI login.
ADMIN_KEY_PATH=./adminkey
# Set the SameSite key for cookies, default to "none".
SAMESITE=None
# Email Options
# URL used in the recovery email to redirect user back
# to the UI for updating their password
RECOVERY_REDIRECT_URL=http://localhost:3002/v1/web/profile
# SMTP settings for outbound mail generated by Authc
SMTP_HOSTNAME=
SMTP_PORT=2525
SMTP_USERNAME=
SMTP_PASSWORD=
# SQLite and PostgreSQL Configurations
SQLITE_ENABLED=true
POSTGRESQL_ENABLED=false
SQLITE_DB_PATH=./sqlite_authc_database.db
POSTGRESQL_CONNECTION_STRING=postgresql://admin@localhost:5432/users