solidus_starter_frontend icon indicating copy to clipboard operation
solidus_starter_frontend copied to clipboard

User Authentication routes are missing ?

Open vibhoo opened this issue 4 years ago • 7 comments

How do I use or access User Authentication can not find it's routes, the user authentication routes (/login) are available in the default solidus gem. Although I have solidus_auth_devise installed, and the admin routes are available, is there a way I can enable User Authentication as well ?

vibhoo avatar Jan 15 '21 02:01 vibhoo

Hey @vibhoo. Did you replace the solidus gem with the single components? (as referred here in the README) If yes, what's the output of bin/rails routes | grep spree_user in your project?

blocknotes avatar Jan 15 '21 08:01 blocknotes

@blocknotes Yes I replaced solidus gem with the single components and followed the step 1 to copy the components into my project. Screen shot of the Gemfile image and when I run bin/rails routes | grep spree_user there is no output.

vibhoo avatar Jan 15 '21 15:01 vibhoo

Can you post your config/routes.rb file?

blocknotes avatar Jan 15 '21 15:01 blocknotes

@blocknotes image

vibhoo avatar Jan 15 '21 17:01 vibhoo

Did we find any solution for this?

achalbi avatar Apr 19 '21 15:04 achalbi

I assume this has to do with the route writing in solidus_auth_devise being inside this conditional: if SolidusSupport.frontend_available? && Spree::Auth::Config.draw_frontend_routes

yoerayo avatar Aug 21 '21 15:08 yoerayo

This issue has been automatically marked as stale because it has not had recent activity. It might be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 11 '22 10:11 stale[bot]