Skip to content

Commit

Permalink
Merge pull request #11 from Ratiscrum/rd/feat/better-auth
Browse files Browse the repository at this point in the history
feat(auth): refresh token
  • Loading branch information
Kayn017 authored Dec 8, 2023
2 parents 2007475 + 4427d6e commit f1741c7
Show file tree
Hide file tree
Showing 23 changed files with 826 additions and 5,642 deletions.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
# DATABASE_URL="postgresql://prisma:prisma@localhost:5432/prisma"
DATABASE_URL="postgresql://myuser:mypassword@localhost:5432/mydatabase"

JWT_SECRET="qdsmkjfhsqdlkckdsqjlhfoiuzqhfbdsqkfhlidsqhfb;kdsq"
JWT_ACCESS_SECRET="qdsmkjfhsqdlkckdsqjlhfoiuzqhfbdsqkfhlidsqhfb;kdsq"
JWT_REFRESH_SECRET="dqsluhfzencmlkezqupfçheazifbneqmplzfpiçezhfbnqesmlkfkpoesqihfibsqnmopfizêpfhpezauyfraozvbdsqos"

# Compose
RATIGREEN_URL=localhost
5 changes: 4 additions & 1 deletion .env.exemple
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@
# DATABASE_URL="file:./dev.db"

# For Postgres
DATABASE_URL="postgresql://prisma:prisma@localhost:5432/prisma"
DATABASE_URL="postgresql://prisma:prisma@localhost:5432/prisma"

WT_ACCESS_SECRET="CHANGE_THIS_VALUE"
JWT_REFRESH_SECRET="CHANGE_THIS_VALUE"
Loading

0 comments on commit f1741c7

Please sign in to comment.