From 3bb0d41e3696be90cfc12f1bf00a546536e283b6 Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Mon, 21 Mar 2022 13:40:59 +0100 Subject: [PATCH] fix: typo --- identity/test/pool.go | 2 +- selfservice/strategy/oidc/provider_config.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/identity/test/pool.go b/identity/test/pool.go index 92c2f8cc19ba..9aac90f8776c 100644 --- a/identity/test/pool.go +++ b/identity/test/pool.go @@ -144,7 +144,7 @@ func TestPool(ctx context.Context, conf *config.Config, p interface { assert.EqualValues(t, 2, count) t.Run("different network", func(t *testing.T) { - _, p := testhelpers.NewNetwork(t, ctx, p) + ctx := fakeContextWithNetwork(ctx, nid) _, err := p.GetIdentity(ctx, expected.ID) require.ErrorIs(t, err, sqlcon.ErrNoRows) diff --git a/selfservice/strategy/oidc/provider_config.go b/selfservice/strategy/oidc/provider_config.go index 8935884737fd..15b003221683 100644 --- a/selfservice/strategy/oidc/provider_config.go +++ b/selfservice/strategy/oidc/provider_config.go @@ -96,7 +96,7 @@ func (p Configuration) Redir(public *url.URL) string { } type ConfigurationCollection struct { - BaseRedirectURL string `json:"base_redirect_url"` + BaseRedirectURI string `json:"base_redirect_uri"` Providers []Configuration `json:"providers"` }