Problem/Motivation

After OAuth authentication the user is redirected back to the current page. However, this redirect does not account for the language path prefix resulting in a duplicate language path prefix.

Expected: /en/user/1/google_api_communicator/authenticate
Current: /en/en/user/1/google_api_communicator/authenticate

Proposed resolution

Do not apply a duplicate language path prefix when redirecting back from the Google Authentication page.

Remaining tasks

  1. Write a patch
  2. Review
  3. Commit

User interface changes

None.

API changes

None.

Data model changes

None.

CommentFileSizeAuthor
#2 3054306-2.patch1018 bytesidebr

Comments

idebr created an issue. See original summary.

idebr’s picture

Status: Active » Needs review
StatusFileSize
new1018 bytes

Attached patch stores the current path without the path prefix, so the user is redirected in the same language the redirect started.

  • 142c097 committed on 7.x-1.x
    Issue #3054306 by idebr: Redirect after authentication applies duplicate...
idebr’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.