-
Notifications
You must be signed in to change notification settings - Fork 381
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
Receiving a secret_not_found
message on login action
#559
Comments
@mc962 your config looks fine except that I don't know if this is happening on production. This definitely seems to be something on your side. |
It's on a dev environment. Do you know what theoretically could be causing it to happen? Unfortunately I don't have as much experience with this package's codebase/elixir in general, so I'm not positive where to look aside from what I've already mentioned. |
Check the name of your OTP, the name of your module and so on |
🤦♂️ 🤦♂️ 🤦♂️ I had been using a context called But my dev.exs config was asking for Thanks for the advice. |
I've been trying
guardian
on an app together withabsinthe
to make a GraphQL API Phoenix application.I got most of it working, and even the sign_up action works as expected. However, for the
login
action I am receiving asecret_not_found
message in the response (no errors in the console).From what I can tell, I am probably having an issue with
guardian
, as the message seems to be from either:jwt.ex
and/or
token.ex
but I'm not really sure what issue I'm having, as from what I can tell, it's all set up more or less correctly. I did see this git issue with a similar error message, but I think I'm not having the same problems, as my Guardian module looks set up correctly from what I can see.
Here is the app: https://github.com/mc962/guack
The text was updated successfully, but these errors were encountered: