We have developed a shopify embedded app, which allows the shopify merchant to install our public app on the store. We have used shopify_app with ruby on rails.
We wish to leverage this application and build a admin interface which will allow the admins of the embedded app to log in using email and password, and manage the merchants using who have installed the public app and are using our service. We are using 'devise' gem to handle user sign in, but somehow it does not work. The "current_user" is always nil after logging in. I am not able to figure out the issue. Any help is appreciated.
Hi @SBD_ ,
Thank you for the response.
Yes. We have a different url "/admin" setup for admin section.
We are allowing admins to signup via "/admin/sign_in".
Also, I have a different model "Users" setup for the same.
And, I have all the other things setup as per "devise".