Skip to content

Commit

Permalink
Merge pull request #5251 from jay-hodgson/SWC-6647-483
Browse files Browse the repository at this point in the history
SWC-6647 (pointing to release 483)
  • Loading branch information
jay-hodgson authored Jan 8, 2024
2 parents 6f689ab + f1ab4f2 commit 3a48e1c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ public void bindOAuthProviderToUser(
OAuthValidationRequest request = new OAuthValidationRequest();
request.setProvider(provider);
request.setAuthenticationCode(authorizationCode);
String redirectUrl = createRedirectUrl(req, provider);
request.setRedirectUrl(redirectUrl);
PrincipalAlias response = client.bindOAuthProvidersUserId(request);
resp.sendRedirect(PROFILE_BIND_SUCCESS_PLACE);
} catch (Exception e) {
Expand Down

0 comments on commit 3a48e1c

Please sign in to comment.