Skip to content

Commit

Permalink
hotfix (#86063)
Browse files Browse the repository at this point in the history
  • Loading branch information
iamrajjoshi authored Feb 27, 2025
1 parent 54bef26 commit fffcc45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sentry/identity/vsts/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ def exchange_token(self, request: HttpRequest, pipeline: Pipeline, code: str) ->
from urllib.parse import parse_qsl

from sentry.http import safe_urlopen, safe_urlread
from sentry.utils.http import absolute_uri

with record_event(
IntegrationPipelineViewType.TOKEN_EXCHANGE, pipeline.provider.key
Expand All @@ -260,7 +261,7 @@ def exchange_token(self, request: HttpRequest, pipeline: Pipeline, code: str) ->
"client_id": self.client_id,
"client_secret": self.client_secret,
"code": code,
"redirect_uri": pipeline.config.get("redirect_url"),
"redirect_uri": absolute_uri(pipeline.config.get("redirect_url")),
},
)
body = safe_urlread(req)
Expand Down

0 comments on commit fffcc45

Please sign in to comment.