How to only allow registration/login by a OAuth2 provider

Hi

I’d like to know if this is possible to only allow users to login/sign up with an OAuth2 identity provider and disable the normal registration/login part?

We are creating a forum for our users and want only people who have accounts in our app to be able to participate in the forum.

Thanks.

Turn off local logins.

3 Likes

Thanks, that’s indeed what I’m looking for!

2 Likes

Hey @pfaffman, thanks for your response. It looks like that is what I need. Do you happen to know if there is a way to force members to use OAuth2 but keep login/password login for admins?

I do not believe that you can do that.

1 Like