Skip to content

Conversation

@pwnage101
Copy link
Contributor

Currently, the LMS logout endpoint should iframe in the logout pages of
all the IDAs you were logged into. In short, this was made possible with
DOP because keeping track of the logout URIs and leaving a trail of
evidence in the user cookies was part of what we added in our fork of
DOP. In the case of DOT, we don't have time or desire to fork DOT to
mirror this behavior, so our stop-gap solution is to log out the user
from a list of logout URIs in settings.

@pwnage101 pwnage101 force-pushed the pwnage101/read-from-extra-list-of-logout-uris branch 3 times, most recently from 3c50d8e to 6b2f573 Compare February 12, 2019 17:20
@pwnage101 pwnage101 force-pushed the pwnage101/read-from-extra-list-of-logout-uris branch 2 times, most recently from 6ab2b00 to 85473f1 Compare February 12, 2019 17:48
@pwnage101 pwnage101 requested a review from nasthagiri February 12, 2019 17:56
@pwnage101
Copy link
Contributor Author

jenkins run bokchoy

1 similar comment
@pwnage101
Copy link
Contributor Author

jenkins run bokchoy

@pwnage101 pwnage101 force-pushed the pwnage101/read-from-extra-list-of-logout-uris branch 2 times, most recently from de5e80c to 9c677a6 Compare February 12, 2019 20:37
Copy link
Contributor

Choose a reason for hiding this comment

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

According to my testing, both these URIs need a trailing / - so:

    'http://localhost:18130/logout/',  # ecommerce
    'http://localhost:18150/logout/',  # credentials

They currently send back a 301 "Moved Permanently" and re-direct.

Copy link
Contributor

Choose a reason for hiding this comment

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

I fixed this myself.

@pwnage101 pwnage101 force-pushed the pwnage101/read-from-extra-list-of-logout-uris branch from 3e88058 to 985e9dd Compare February 12, 2019 23:03
@nasthagiri nasthagiri force-pushed the pwnage101/read-from-extra-list-of-logout-uris branch from 985e9dd to d65b4cb Compare February 12, 2019 23:31
Currently, the LMS logout endpoint should iframe in the logout pages of
all the IDAs you were logged into. In short, this was made possible with
DOP because keeping track of the logout URIs and leaving a trail of
evidence in the user cookies was part of what we added in our fork of
DOP.  In the case of DOT, we don't have time or desire to fork DOT to
mirror this behavior, so our stop-gap solution is to log out the user
from a list of logout URIs in settings.
@pwnage101 pwnage101 force-pushed the pwnage101/read-from-extra-list-of-logout-uris branch from d65b4cb to 10afe5e Compare February 13, 2019 00:44
@pwnage101
Copy link
Contributor Author

jenkins run bokchoy

1 similar comment
@pwnage101
Copy link
Contributor Author

jenkins run bokchoy

@nasthagiri
Copy link
Contributor

nasthagiri commented Feb 13, 2019

jenkins run bokchoy

acceptance.tests.studio.test_studio_container.UnitPublishingTest.test_initially_locked_not_visible_to_students

@nasthagiri nasthagiri merged commit 34201c6 into master Feb 13, 2019
@nasthagiri nasthagiri deleted the pwnage101/read-from-extra-list-of-logout-uris branch February 13, 2019 03:49
@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production on Thursday, February 14, 2019.

@edx-status-bot
Copy link

Your PR has finished running tests. There were no failures.

@edx-pipeline-bot
Copy link
Contributor

EdX Release Notice: This PR has been deployed to the production environment.

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.

6 participants