Re-implement authentication (#136)
* Remove hasura and hasura-auth * Implement authentication
This commit is contained in:
7
server/.env.example
Normal file
7
server/.env.example
Normal file
@ -0,0 +1,7 @@
|
||||
AUTH_GOOGLE_CLIENT_ID=REPLACE_ME
|
||||
AUTH_GOOGLE_SECRET=REPLACE_ME
|
||||
AUTH_GOOGLE_CALLBACK_URL='http://localhost:3000/google/redirect'
|
||||
JWT_SECRET=secret_jwt
|
||||
JWT_EXPIRES_IN=300
|
||||
SERVER_DATABASE_URL=postgres://postgres:postgrespassword@postgres:5432/default
|
||||
FRONT_AUTH_CALLBACK_URL=http://localhost:3001/auth/callback
|
||||
Reference in New Issue
Block a user