Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: build oidc redirect uri dynamically #1324

Merged
merged 1 commit into from
May 25, 2023
Merged

Conversation

fqutishat
Copy link
Contributor

No description provided.

@cla-bot cla-bot bot added the cla-signed label May 25, 2023
Signed-off-by: Firas Qutishat <firas.qutishat@securekey.com>
@codecov
Copy link

codecov bot commented May 25, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (48a66cc) 87.49% compared to head (dac3153) 87.49%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1324   +/-   ##
=======================================
  Coverage   87.49%   87.49%           
=======================================
  Files         152      152           
  Lines        8658     8658           
=======================================
  Hits         7575     7575           
  Misses        714      714           
  Partials      369      369           
Impacted Files Coverage Δ
...rvice/oidc4ci/oidc4ci_service_initiate_issuance.go 92.02% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@fqutishat fqutishat merged commit bf3a0a5 into trustbloc:main May 25, 2023
@fqutishat fqutishat deleted the update branch May 25, 2023 15:31
@@ -193,7 +193,7 @@ func (s *Service) extendTransactionWithOIDCConfig(
data.Scope = profile.OIDCConfig.Scope
}

data.RedirectURI = profile.OIDCConfig.RedirectURI
data.RedirectURI = fmt.Sprintf("%s/%s", s.issuerVCSPublicHost, "oidc/redirect")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is issuerVCSPublicHost read from profile?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants