add org default redirect uri

This commit is contained in:
Elio Bischof 2022-07-20 16:32:54 +02:00
parent 0f379f2db7
commit cab8631650
No known key found for this signature in database
GPG Key ID: 7B383FDE4DDBF1BD

View File

@ -32,6 +32,7 @@ func execute(ctx context.Context, cmd *command.Commands, cfg E2EConfig, users []
// Avoids the MFA nudge
if _, err = cmd.AddLoginPolicy(ctx, org.ResourceOwner, &domain.LoginPolicy{
AllowUsernamePassword: true,
DefaultRedirectURI: "http://localhost:8080/ui/console",
}); err != nil {
return err
}