We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It would be great if i could e.g. specify a role or an attribute on the settings page. (e.g. required role)
If the userinfo does not have that specified role / attribute a login is not permitted.
This could be added in validate_user_claim() around line 550.
if ($user_claim['roles'] != 'MYCONFIG_SETTING') { return new WP_Error( 'unauthorized', __( 'Unauthorized access. Wrong role/attribute', 'daggerhart-openid-connect-generic' ), $login_user ); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It would be great if i could e.g. specify a role or an attribute on the settings page. (e.g. required role)
If the userinfo does not have that specified role / attribute a login is not permitted.
This could be added in validate_user_claim() around line 550.
The text was updated successfully, but these errors were encountered: