Hello Lazaro, thank you for the great gem. I am using it in a non-api Rails app and it was a breeze to set up.
Now I would like to refactor a Rails api-only app to use it, too.
I cannot find documentation, unfortunately. I see a closed issue but the link there is empty.
My questions are:
If this is documented anywhere, please let me know.
Thank you!
Hello Lazaro, thank you for the great gem. I am using it in a non-api Rails app and it was a breeze to set up.
Now I would like to refactor a Rails api-only app to use it, too.
I cannot find documentation, unfortunately. I see a closed issue but the link there is empty.
My questions are:
What other options are compatible with --api ? For example, 2FA mode isn't available. But are there any other options which I cannot use when using --api ?Answer: This is documented in the code here: https://github.com/lazaronixon/authentication-zero/blob/ea090a364a14f98f08f9b72fa49d5df43d388e04/lib/generators/authentication/authentication_generator.rb
Is there a documentation for the response data structure when signing in and out? For example, will the token be sent with the header, or in the body?
Is there a way to add my own data to the JWT payload?
If this is documented anywhere, please let me know.
Thank you!