Skip to content

Commit 972204f

Browse files
fix: correct redirect_uri formatting in invite email handling (#142)
* fix: correct redirect_uri formatting in invite email handling Signed-off-by: Bastian Echterhölter <[email protected]> On-behalf-of: @SAP <[email protected]> * Apply suggestion from @aaronschweig --------- Signed-off-by: Bastian Echterhölter <[email protected]> Co-authored-by: Aaron Schweig <[email protected]>
1 parent ca87487 commit 972204f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/subroutine/invite/subroutine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ func (s *subroutine) Process(ctx context.Context, instance runtimeobject.Runtime
182182
log.Debug().Str("email", invite.Spec.Email).Str("id", newUser.ID).Msg("User created")
183183

184184
queryParams := url.Values{
185-
"redirect_uri": {"https://%s.%s", realm, s.baseDomain},
185+
"redirect_uri": {fmt.Sprintf("https://%s.%s", realm, s.baseDomain)},
186186
"client_id": {realm},
187187
}
188188

0 commit comments

Comments
 (0)