pragma
pragma copied to clipboard
Pragma::Auth
This would be a gem for authentication that provides an API endpoint to generate JWT tokens and a macro to authenticate users.
In addition to DRYing up authentication logic, it would allow us to decouple authentication from Rails by not requiring the definition of a current_user method.
Not sure if this should come in the form of a Rails engine or just operation classes that are then extended by the main app.
I'm interested! Please let me know where and how I can contribute!