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

use configured attribute key for remote account uid #67

Open
wants to merge 2 commits into
base: 7.x-2.x
Choose a base branch
from

Conversation

tbfisher
Copy link

see #66

elseif (isset($attributes['uid'])) {
return $attributes['uid'][0] . "@stanford.edu";
elseif (isset($attributes[variable_get('stanford_simplesamlphp_auth_unique_id', 'eduPersonPrincipalName')])) {
return $attributes[variable_get('stanford_simplesamlphp_auth_unique_id', 'eduPersonPrincipalName')][0] . "@stanford.edu";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would create [email protected]@stanford.edu

/**
* Remove sunetid mappings with empty sunet.
*/
function stanford_ssp_update_7208() {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for writing upgrade hooks!

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

Successfully merging this pull request may close these issues.

2 participants