Skip to content
Snippets Groups Projects
Commit d5ae5c3a authored by Diana Huang's avatar Diana Huang
Browse files

Remove wrapper code from logout flow.

parent 1212ab75
No related branches found
No related tags found
No related merge requests found
......@@ -3,7 +3,6 @@
import re
import edx_oauth2_provider
import six.moves.urllib.parse as parse # pylint: disable=import-error
from django.conf import settings
from django.contrib.auth import logout
......@@ -75,9 +74,6 @@ class LogoutView(TemplateView):
# Get third party auth provider's logout url
self.tpa_logout_url = tpa_pipeline.get_idp_logout_url_from_running_pipeline(request)
# Get the list of authorized clients before we clear the session.
self.oauth_client_ids = request.session.get(edx_oauth2_provider.constants.AUTHORIZED_CLIENTS_SESSION_KEY, [])
logout(request)
response = super(LogoutView, self).dispatch(request, *args, **kwargs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment