Thanks for taking the time to get back to me. My API is consumed by a Vue.js client (using vue-auth). I've tried all the different middlewares and setting api mode to false but always see my session contents emptied.
Ah well! For now I'm saving the request_token in my DB until the callback is called. And yes, the access_token is needed for using the API once authorized.
No problem, sorry I can't be more helpful. If your issue is that you can't use session at all with your configuration (not just for devise_token_auth), it might be a good question for Stack Overflow. Best of luck!
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thanks for taking the time to get back to me. My API is consumed by a Vue.js client (using
vue-auth
). I've tried all the different middlewares and setting api mode to false but always see mysession
contents emptied.Ah well! For now I'm saving the request_token in my DB until the callback is called. And yes, the access_token is needed for using the API once authorized.
No problem, sorry I can't be more helpful. If your issue is that you can't use
session
at all with your configuration (not just fordevise_token_auth
), it might be a good question for Stack Overflow. Best of luck!