Skip to content

Commit

Permalink
added allow access tokens via browser
Browse files Browse the repository at this point in the history
  • Loading branch information
leastprivilege committed Aug 29, 2023
1 parent a8b47e6 commit 4f1096b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public static class Config
ClientId = "implicit1",
AllowedGrantTypes = GrantTypes.Implicit,
RequirePkce = false,
AllowAccessTokensViaBrowser = true,

RedirectUris = { "https://www.certification.openid.net/test/a/duende-op/callback" },
PostLogoutRedirectUris = { "https://certification.openid.net/test/a/duende-op/post_logout_redirect" },
Expand All @@ -41,6 +42,7 @@ public static class Config
ClientId = "implicit2",
AllowedGrantTypes = GrantTypes.Implicit,
RequirePkce = false,
AllowAccessTokensViaBrowser = true,

RedirectUris = { "https://www.certification.openid.net/test/a/duende-op/callback" },
PostLogoutRedirectUris = { "https://certification.openid.net/test/a/duende-op/post_logout_redirect" },
Expand All @@ -66,6 +68,8 @@ public static class Config
RequirePkce = false,

RedirectUris = { "https://www.certification.openid.net/test/a/duende-op/callback" },

// https://www.certification.openid.net/test/a/duende-op/post_logout_redirect
PostLogoutRedirectUris = { "https://certification.openid.net/test/a/duende-op/post_logout_redirect" },

FrontChannelLogoutUri = "https://certification.openid.net/test/a/duende-op/frontchannel_logout",
Expand Down Expand Up @@ -113,6 +117,7 @@ public static class Config

AllowedGrantTypes = GrantTypes.Hybrid,
RequirePkce = false,
AllowAccessTokensViaBrowser = true,

RedirectUris = { "https://www.certification.openid.net/test/a/duende-op/callback" },
PostLogoutRedirectUris = { "https://certification.openid.net/test/a/duende-op/post_logout_redirect" },
Expand All @@ -137,6 +142,7 @@ public static class Config

AllowedGrantTypes = GrantTypes.Hybrid,
RequirePkce = false,
AllowAccessTokensViaBrowser = true,

RedirectUris = { "https://www.certification.openid.net/test/a/duende-op/callback" },
PostLogoutRedirectUris = { "https://certification.openid.net/test/a/duende-op/post_logout_redirect" },
Expand Down

0 comments on commit 4f1096b

Please sign in to comment.