dwyl / smart-home-auth-server

The authorisation server for dwyl/smart-home-security-system
GNU General Public License v2.0
5 stars 1 forks source link

Generate JWT tokens locally for development #21

Closed th0mas closed 3 years ago

th0mas commented 3 years ago

Whatever we end up doing for https://github.com/dwyl/smart-home-security-system/issues/11, we need to be able to programatically generate JWT tokens locally for API development.

This will also be useful for testing in future

nelsonic commented 3 years ago

https://github.com/dwyl/auth_plug/blob/cbcc34b6f566264a3663850ca29f35329f3bab8e/lib/token.ex#L58-L60 💭