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

Create Helper Function that Generates Valid JWT #8

Closed
1 task done
nelsonic opened this issue Apr 23, 2020 · 0 comments
Closed
1 task done

Create Helper Function that Generates Valid JWT #8

nelsonic opened this issue Apr 23, 2020 · 0 comments

Comments

@nelsonic
Copy link
Member

nelsonic commented Apr 23, 2020

Our auth_plug is working as desired and provides protection for our routes,
but testing routes protected by the plug is a little tedious; we can do better.

Todo

  • Create a helper function that generates a valid JWT with some valid-looking data
    so that requests to protected routes can be tested.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant