Tobbe Lundberg

Results 283 comments of Tobbe Lundberg

I found it! Was on the forums https://community.redwoodjs.com/t/feature-proposal-useguard-hook-for-checking-preconditions-on-page-render/2732/13 I'll read it and get back to you when I have thought about it all some more 🙂 @Olyno would be great...

Ok, so reading that forum post again it's about this exact same use case! That's great 🙂 So the value of such a feature is getting clearer, but I'd still...

Thank you @ladderschool that's exactly how I meant you can do it! If you want you can combine `` and `` #### Routes.js ```jsx ``` #### AuthRedirect.js ```jsx import {...

@NetLancer I think, again, the *real* solution is what's described in that forum post I linked above. So thanks for providing yet another usecase for it 🙂 And, also again,...

Not that you asked for my opinion, but until we have a more "plugin" approach to our auth providers I still think there would be value in having a "custom"...

> I think this is much better solved via documentation and a cookbook example This sounds good to me! Especially an example.

For me, a "custom" auth method has always mostly meant "auth provider we don't support yet". From your examples it sounds more like "totally different way of authing users". I...

I just pushed initial (untested) code for a custom auth setup command to my big auth refactor PR here: https://github.com/redwoodjs/redwood/pull/5985. But that PR only focuses on the web side. We'd...

> Kindly advise what will be the best way to get in contact then. Both @dthyresson and I are very responsive if you ping us on Discord. > integrate the...

> The two declarations _are_ actually different: > > * _a_ is **two** functions that either always return 1, or always return 2 > * _b_ is a **single** function...