Register users with 3th party auth service?

Is it possible to register users with panel access with 3th party auth service?

I already have registration implemented, so far so good.

Just wondering if I can add passwordless flow with 3th party services.

As far as I can see, I could implement 3th party registration for non-panel users only, is that right?

Thank you very much.

You would have to copy the login code from the User class to your own function and strip the password checking from it. Should be doable, only thing you need to do is to set the session variables etc.

For Kirby there’s no difference between Panel and non-Panel users. Of course you won’t be able to make the Panel login form passwordless, but you can still login those users with your own login form.

1 Like

I’ll give it a try.

Thank you very much.