-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User auth #2
User auth #2
Conversation
config/config.exs
Outdated
# Guardian config | ||
config :safira, Safira.Guardian, | ||
issuer: "safira", | ||
secret_key: "V+7NtzTm67pO0Y+hPLdz/sSclYL/5ekdW7fJKqMED49aPs8213zVzYNuR/6UDOta" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isto nao devia estar numa variável de ambiente ou algo do género?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sim tem, aproveitei e criei já um .env.sample
para os posteridade
@@ -15,6 +15,9 @@ erl_crash.dump | |||
# variables. | |||
/config/*.secret.exs | |||
|
|||
# Environment Variables | |||
/.env |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isto nao devia ser so .env ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Decidi só ignorar o .env
na root do projeto, assim facilita se por algum motivo tiveres um .env
noutro sítio ser mais fácil de apanhar
User sign up and sign in User auth with jwt Also added tool version Added env sample
No description provided.