Stephen

Joined

4,640 Experience
39 Lessons Completed
1 Question Solved

Activity

Posted in JWT with Devise (App and API)

Hi,

I'm looking to extend my Rails 5.2 application that uses Devise for authentication so I can support API requests via JSON. I have looked at Chris' videos and did some searching around -- most tutorials I have found only make use of using an "API Only" mode. I would like to make use off of the existing code I have (e.g. use respond_to in the controller, instead of making separate API::Controllers for the exact same code).

Is this possible to do? If so please point me in the right direction. Thank you!