Skip to content
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

fix(config/runtime): add issuer for guardian_config in :prod #104

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

unenglishable
Copy link
Member

without this config, guardian redis completely breaks and it is impossible very difficult to trace where the issue came from

** (KeyError) key :wheres not found in: #Ecto.Changeset<action: nil,
changes: %{claims: %{"aud" => "" ...

the telltale issue here being the "aud" => "" rather than t0.aud == ^"EpochtalkServer" like you would see if debugging a working instance

without this config, guardian redis completely breaks and it is
~~impossible~~ very difficult to trace where the issue came from

```
** (KeyError) key :wheres not found in: #Ecto.Changeset<action: nil,
changes: %{claims: %{"aud" => "" ...
```

the telltale issue here being the `"aud" => ""` rather than
`t0.aud == ^"EpochtalkServer" ` like you would see if debugging a working
instance
@akinsey akinsey merged commit d32294d into main Aug 23, 2024
10 checks passed
@akinsey akinsey deleted the guardian-fix branch August 23, 2024 21:35
Copy link

🎉 This PR is included in version 1.34.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants