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

Conditionalize external_login_or_signup shib behavior on existence of apache shib vars #507

Closed
wants to merge 1 commit into from

Conversation

jbau
Copy link

@jbau jbau commented Jul 26, 2013

@brianhw @cpennington

As discussed over email

@@ -148,7 +148,7 @@ def external_login_or_signup(request,
log.info(u"External_Auth login_or_signup for %s : %s : %s : %s", external_domain, external_id, email, fullname)
internal_user = eamap.user
if internal_user is None:
if settings.MITX_FEATURES.get('AUTH_USE_SHIB'):
if settings.MITX_FEATURES.get('AUTH_USE_SHIB') and 'shib:' in external_domain[0:5]:
Copy link
Contributor

Choose a reason for hiding this comment

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

I think I'd use external_domain.startswith('shib:'). @brianhw can you make that change to this PR, since @jbau is on vacation?

@brianhw
Copy link
Contributor

brianhw commented Jul 30, 2013

There are several more places that need to check for shibboleth. These changes are included in PR 511.

@cpennington
Copy link
Contributor

Closing, as this is obsoleted by #511

chrisrossi pushed a commit to jazkarta/edx-platform that referenced this pull request Mar 31, 2014
Quick workaround on syllabus_present that broke staging
hachiyanagi-ks added a commit to nttks/edx-platform that referenced this pull request Dec 4, 2015
…lete-course-with-assets

Add purge flag in delete_course openedx#411
diegomillan pushed a commit to eduNEXT/edx-platform that referenced this pull request Sep 14, 2016
…lment_api_performance

Performance fix for enrollment roster api.
yoann-mroz pushed a commit to weuplearning/edx-platform that referenced this pull request Nov 30, 2020
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.

3 participants