Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Pass a set of roles from ProxyConnect SSO to vanilla
carlokok
New
Is it possible to pass a set of roles that should be applied to a given account during the SSO login? for example something like:
Roles=Member;Administrator;private-beta-cooper
where it would remove the roles that aren't in the list and add the ones that are? The authentication url can return this info.
Roles=Member;Administrator;private-beta-cooper
where it would remove the roles that aren't in the list and add the ones that are? The authentication url can return this info.
Tagged:
0
Comments
The authentication page lists name/value pairs of data, and there are no restrictions on the additional data that you can add to this page. So in theory the roles can be passed across, but capturing them in any kind of custom code hooked into ProxyConnect is the the difficulty. I find that by the time the point is reached where the user is created, the additional data passed in through the authentication page is long gone.
"class.proxyauthenticator.php" then in Now this works; however it doesn't work the first time around, and I can't find a hook to place the initial roles (when the user is created).
It is passed in the HMAC cookie, but where can I hook so it does this after it created the user so i can apply the new roles?
If you can figure out this one, it would be a real benefit to this plugin. Ultimately, what ProxyConnect needs is hooks in the right place so that additional plugins can be written to handle roles, addresses, thumbnails, personal statements, accreditations etc. whatever people want to pull across from their CMS.