Replies: 1 comment
-
The Rodauth is used a middleware, which sits in front of the Rails router. It doesn't define Rails routes, so it cannot be used with Moving this to a discussion, since this is not a bug. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Huge fan of rodauth-rails and have been using it for almost every rails project – just has so much nifty things built in, and isn't a pain to refactor when there's a need to switch to other auth strategies.
However, it gets a bit tricky sometimes when dealing with accessing stuff in rodauth in rails console, etc when debugging.
I'm trying to setup https://github.com/railsware/js-routes with rodauth so I can use them in my react views but am running into issues that I'm not quite sure where to look or what I can try.
In
rails console
, I'd try something like:Is there anyway I can access the routes like any other rails routes? Would it also work when trying to get all the rodauth routes in a rails initializer? Or would I have to monkey patch stuff?
Beta Was this translation helpful? Give feedback.
All reactions