add additional hooks for allow users to _gracefully_ not be logged in…#127
Open
matgargano wants to merge 1 commit intoSAML-Toolkits:masterfrom
Open
add additional hooks for allow users to _gracefully_ not be logged in…#127matgargano wants to merge 1 commit intoSAML-Toolkits:masterfrom
matgargano wants to merge 1 commit intoSAML-Toolkits:masterfrom
Conversation
… to WordPress but still use OneLogin SAML
Author
|
@pitbulk any update? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… to WordPress but still use OneLogin SAML
Hi @pitbulk,
As a developer from a large company that uses this plugin on several sites, we have added the ability to have users log in with SAML but not exist in the database.
For now, we are using this plugin for admin login, but we will have a need to use it for logging in customers that don't have an account, nor do they need an account, stored in the WP database (so we would need to log in users without having it / creating it in the WP database).
These users would log in via 'onelogin-saml-sso' and the user data would be stored in a PHP session.
We've made some changes to the plugin so we could use it that way, via WordPress actions/hooks and not impact any other usage of this plugin. We would really appreciate it if you would merge in our changes.
We've added just a few hooks to the plugin that allows us to modify the plugin log-in behavior, no functionalities were changed.
If hooks aren't used plugin will work the same way as is now (without our changes).
We had to implement following hooks / changes to be able to use the plugin:
Please let us know if you have any questions at all.