我试图使用身份服务器4验证MVC客户端 . 当我尝试登录页面时,重定向不会重定向到我的mvc应用程序 . 页面继续加载.....我也没有得到任何错误 .
注意:当我调试我的身份服务器项目时,它看起来像经过身份验证 . 问题仅重定向回我的mvc客户端 .
我的所有客户端设置都在数据库中 .
redirect URI - "http://localhost:5002/signin-oidc"
Grant Type - "implicit"
ClientCoreOrgin - "http://localhost:6301"
postLogoutRedirectURI - "http://localhost:5002/signout-callback-oidc"
以上网址继续加载.....
日志:
2017-12-14 19:59:08.748 +08:00 [Debug] A data reader was disposed.
2017-12-14 19:59:08.749 +08:00 [Debug] Closing connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:08.750 +08:00 [Debug] Closed connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:08.752 +08:00 [Information] Clearing 0 tokens
2017-12-14 19:59:38.757 +08:00 [Information] Entity Framework Core "2.0.1-rtm-125" initialized '"PersistedGrantDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "MigrationsAssembly=brown.auth.v2 "
2017-12-14 19:59:38.767 +08:00 [Debug] Opening connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:38.769 +08:00 [Debug] Opened connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:38.771 +08:00 [Debug] Executing DbCommand [Parameters=["@__UtcNow_0='?'"], CommandType='Text', CommandTimeout='30']"
""SELECT [x].[Key], [x].[ClientId], [x].[CreationTime], [x].[Data], [x].[Expiration], [x].[SubjectId], [x].[Type]
FROM [PersistedGrants] AS [x]
WHERE [x].[Expiration] < @__UtcNow_0"
2017-12-14 19:59:38.795 +08:00 [Information] Executed DbCommand ("23"ms) [Parameters=["@__UtcNow_0='?'"], CommandType='Text', CommandTimeout='30']"
""SELECT [x].[Key], [x].[ClientId], [x].[CreationTime], [x].[Data], [x].[Expiration], [x].[SubjectId], [x].[Type]
FROM [PersistedGrants] AS [x]
WHERE [x].[Expiration] < @__UtcNow_0"
2017-12-14 19:59:38.796 +08:00 [Debug] A data reader was disposed.
2017-12-14 19:59:38.797 +08:00 [Debug] Closing connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:38.798 +08:00 [Debug] Closed connection to database '"auth.Brown"' on server '"."'.
2017-12-14 19:59:38.799 +08:00 [Information] Clearing 0 tokens
2017-12-14 20:00:08.799 +08:00 [Information] Entity Framework Core "2.0.1-rtm-125" initialized '"PersistedGrantDbContext"' using provider '"Microsoft.EntityFrameworkCore.SqlServer"' with options: "MigrationsAssembly=brown.auth.v2 "
2017-12-14 20:00:08.801 +08:00 [Debug] Opening connection to database '"auth.Brown"' on server '"."'.
2017-12-14 20:00:08.802 +08:00 [Debug] Opened connection to database '"auth.Brown"' on server '"."'.
2017-12-14 20:00:08.803 +08:00 [Debug] Executing DbCommand [Parameters=["@__UtcNow_0='?'"], CommandType='Text', CommandTimeout='30']"
""SELECT [x].[Key], [x].[ClientId], [x].[CreationTime], [x].[Data], [x].[Expiration], [x].[SubjectId], [x].[Type]
FROM [PersistedGrants] AS [x]
WHERE [x].[Expiration] < @__UtcNow_0"
2017-12-14 20:00:08.813 +08:00 [Information] Executed DbCommand ("10"ms) [Parameters=["@__UtcNow_0='?'"], CommandType='Text', CommandTimeout='30']"
""SELECT [x].[Key], [x].[ClientId], [x].[CreationTime], [x].[Data], [x].[Expiration], [x].[SubjectId], [x].[Type]
FROM [PersistedGrants] AS [x]
WHERE [x].[Expiration] < @__UtcNow_0"
2017-12-14 20:00:08.816 +08:00 [Debug] A data reader was disposed.
2017-12-14 20:00:08.817 +08:00 [Debug] Closing connection to database '"auth.Brown"' on server '"."'.
2017-12-14 20:00:08.818 +08:00 [Debug] Closed connection to database '"auth.Brown"' on server '"."'.
2017-12-14 20:00:08.820 +08:00 [Information] Clearing 0 tokens