kweb-core icon indicating copy to clipboard operation
kweb-core copied to clipboard

authentication

Open NeonSalamander opened this issue 7 years ago • 5 comments

Hello everyone, is there an example with authentication?

NeonSalamander avatar Dec 07 '17 05:12 NeonSalamander

@primaldevelop Apologies, I'm afraid not yet, as of right now you'll need to roll your own. If you're interested in tackling this let me know, I have some ideas about a good approach - and I think it should be doable as a plugin (although that might require that the plugin mechanism be improved a little).

sanity avatar Dec 07 '17 05:12 sanity

Just researching, found this: https://auth0.com/

It looks great but unfortunately they charge about $0.01/user/month, which will be a dealbreaker for many.

sanity avatar Jul 28 '18 17:07 sanity

According to Reddit this may be a good source of inspiration: http://www.passportjs.org/

sanity avatar Jul 29 '18 05:07 sanity

I think you can use Ktor auth, and let the developer to use it with a simple DSL to configure the provider and routes to attach preconfgured auth.

oxiadenine avatar Aug 29 '19 19:08 oxiadenine

Just want to keep this open for now.

sanity avatar Sep 05 '19 18:09 sanity

Probably no one-size-fits-all solution to this so probably doesn't belong in kweb-core.

sanity avatar Oct 16 '22 14:10 sanity