Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Force login via Google #166

Open
justdave opened this issue Oct 26, 2023 · 2 comments
Open

[RFE] Force login via Google #166

justdave opened this issue Oct 26, 2023 · 2 comments

Comments

@justdave
Copy link

Use case: Our site only allows members of our Google Workspace to log in. We want to disable the internal WordPress login and only allow people to log in via Google (essentially using Google Workspace as a forced single-sign-on). A previous plugin we were using for this that is no longer supported accomplished this by having a configuration option that made wp-login outright redirect to the Google login instead of making you click a button on the login screen. Making it hide the username and password fields and the login button on the login screen would also be an acceptable way to handle it.

The configuration option should of course come with a warning that if the Google login breaks you would need to deactivate the plugin (perhaps from the command line) in order to get the normal login form back.

@justdave justdave changed the title Force login via Google [RFE] Force login via Google Oct 26, 2023
@jesperronn
Copy link

I am also interested in this functionality. Any ideas on how to add this functionality in the code as-is?

@jesperronn
Copy link

jesperronn commented Dec 27, 2023

Update: I found another plugin which has exactly this functionality https://wordpress.org/plugins/wp-force-login/

Perhaps maintainers would share their opinion. This issue could be closed if it should not be part of the funcionallity of Login with Google plugin

PS. the two plugins work well together in my initial test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants