Skip to content

Commit

Permalink
Merge d9327ee into 643a549
Browse files Browse the repository at this point in the history
  • Loading branch information
harture committed Jan 29, 2020
2 parents 643a549 + d9327ee commit ba0a39b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/register/component.go
Expand Up @@ -191,7 +191,8 @@ func (c *component) RegisterUser(ctx context.Context, realmName string, user api
redirectURL.RawQuery = parameters.Encode()

if realmConf.RegisterExecuteActions != nil && len(*realmConf.RegisterExecuteActions) > 0 {
err = c.keycloakClient.ExecuteActionsEmail(accessToken, c.realm, userID, *realmConf.RegisterExecuteActions, "redirect_uri", redirectURL.String())
err = c.keycloakClient.ExecuteActionsEmail(accessToken, c.realm, userID,
*realmConf.RegisterExecuteActions, "client_id", "selfserviceid", "redirect_uri", redirectURL.String())
if err != nil {
c.logger.Warn(ctx, "msg", "ExecuteActionsEmail failed", "err", err.Error())
return "", err
Expand Down

0 comments on commit ba0a39b

Please sign in to comment.