-
Notifications
You must be signed in to change notification settings - Fork 2
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
Check for/ DWYL_API_KEY before AUTH_API_KEY #14
Labels
Comments
4 tasks
nelsonic
changed the title
Check for/ DWYL_API_KEY before SECRET_KEY_BASE
Check for/ DWYL_API_KEY before AUTH_API_KEY
Apr 27, 2020
nelsonic
added a commit
that referenced
this issue
Apr 27, 2020
nelsonic
added a commit
that referenced
this issue
Apr 27, 2020
nelsonic
added a commit
that referenced
this issue
Apr 27, 2020
nelsonic
added a commit
that referenced
this issue
Apr 27, 2020
Lines 17 to 21 in b612845
Lines 160 to 167 in b612845
|
I've got this working. Closing. ✅ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At present we are using
SECRET_KEY_BASE
as our single environment variable:auth_plug/.env_sample
Line 1 in 1ebb609
Which is then used in:
auth_plug/lib/token.ex
Line 7 in 1ebb609
As part of our Quest to only have a Single Environment Variable to run the App on
localhost
dwyl/auth#42 we need to use that variable in ourToken
module.Todo
DWYL_API_KEY
as the@secret
inToken
moduleDWYL_API_KEY
on/
andclient_secret
) to verify theJWT
JWT
verification fails, send the first half of theDWYL_API_KEY
(corresponding to theclient_id
) as theclient_id
in the URL query param so that theAuth
App can verify it.The text was updated successfully, but these errors were encountered: