Bypass authentication for signup page in Rails API
I added authentication on my rails api.
Works great, only authenticated users can now call on the api.
Now my problem was that I am unable to signup, since it requires authentication. Catch-22.
how to bypass?
Authentication is being inherited from application_controller.rb
for the signup controller, I just inherited directly from ActionController::API
This was helpful if you need to setup the api and you need assistance.