You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know sessions and user authentication in general are inherently not RESTful, but it would be nice to have optional support for changing the method and allowing dynamic URLs with this module. For example:
Register: PUT /account/<username>
Login: POST /session
Logout: DELETE /session
Validate: GET /session
The text was updated successfully, but these errors were encountered:
@darvid - the logout path (signOutUrl) is called with DELETE, the sign-in path (emailSignInPath) is called with POST, the validate path (tokenValidationPath) is called with GET and the email registration (emailRegistrationPath) uses POST, since that is the expected REST paradigm for new record creation (whereas PUT generally implies knowledge of location / previous existence).
In short, you should be able to configure this to be as REST-ful as you'd like. Hope this helps!
I know sessions and user authentication in general are inherently not RESTful, but it would be nice to have optional support for changing the method and allowing dynamic URLs with this module. For example:
The text was updated successfully, but these errors were encountered: