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

User ID Attribute Name Variants: user_id_attrs #4

Open
drfho opened this issue Oct 12, 2021 · 1 comment
Open

User ID Attribute Name Variants: user_id_attrs #4

drfho opened this issue Oct 12, 2021 · 1 comment
Assignees

Comments

@drfho
Copy link
Contributor

drfho commented Oct 12, 2021

hi @zmsdev ,
for flexible usage of the SSO-Plugin we need

  1. to allow more name variants for user_id or login_name, I recommend to add a new attribute "user_id_attrs" as a comma-separated string, see image.
  2. The None-setting might be redundant?
    self.doAddUser(None, None)
  3. function authenticateCredentials() might use another function to process the get_user_id_attrs-filed an return a list
  4. an idea is needed to abstract special requirements like: username = username.split('@')[0]. Maybe a custom preprocessor py script of the zope object.
  5. to get roles from the json payload the SSO-plugn should allow role-extraction, too, like

user_id_attrs

@zmsdev
Copy link
Contributor

zmsdev commented Nov 10, 2021

ad 2.)
doAddUser(None,None) is just used to refresh users (login and password must be passed).

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