Skip to content

[Test failure] TC_LEARNER_11: CORS error when unliking SSO account in account settings #1262

@mariajgrimaldi

Description

@mariajgrimaldi

Release

Teak

Expected behavior

SSO account is successfully unlike without showing any errors to the user:
image

Actual behavior

Although the account is successfully unlinked, an error is raised instead so the user needs to reload the page to see the unlinked account:

Screencast.from.05-06-25.13.28.24.webm

Steps to reproduce

  1. Configure TPA auth for Open edX
  2. Login or Register via third-party authentication
  3. Go to account settings > Linked Accounts section
  4. Click Unlink {TPA_Name} account
  5. Observe error in interface and browser console

Additional information

Request to /auth/disconnect/{backend-slug}/{user_social_auth_id}/ is made when unlinking SSO, and 302 code redirect to location /dashboard is returned.

This was previously addressed here: openedx/wg-build-test-release#376

I'm not sure if it wasn't fully resolved back then or whether something changed throughout these past months that broke it again.

Metadata

Metadata

Labels

help wantedReady to be picked up by anyone in the communityrelease blockerBlocks the upcoming release (fix needed)release testingAffects the upcoming release (attention needed)

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions