Skip to content

Commit

Permalink
Update Config.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
anjoy8 committed Jan 15, 2020
1 parent 2b7c9c9 commit 5442389
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Blog.IdentityServer/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,24 @@ public static IEnumerable<Client> GetClients()
"blog.core.api"
}
},
// nuxt.tbug 前端nuxt项目
new Client {
ClientId = "tibugnuxtjs",
ClientName = "Nuxt.tBug JavaScript Client",
AllowedGrantTypes = GrantTypes.Implicit,
AllowAccessTokensViaBrowser = true,

RedirectUris = { "http://tibug.neters.club/callback" },
PostLogoutRedirectUris = { "http://tibug.neters.club" },
AllowedCorsOrigins = { "http://tibug.neters.club" },

AllowedScopes = {
IdentityServerConstants.StandardScopes.OpenId,
IdentityServerConstants.StandardScopes.Profile,
"roles",
"blog.core.api"
}
},
// interactive ASP.NET Core MVC client
new Client
{
Expand Down

0 comments on commit 5442389

Please sign in to comment.