Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 2fddccc

Browse files
committed
update Home/Index.cshtml
1 parent 99251e5 commit 2fddccc

File tree

6 files changed

+113
-35
lines changed

6 files changed

+113
-35
lines changed

src/Backend/Jp.UserManagement/appSettings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// Sql Server connection
66
// "SSOConnection": "Server=.;Initial Catalog=JpProject;Persist Security Info=False;User ID=sa;Password=@Password1;MultipleActiveResultSets=False;Connection Timeout=30;"
77
// MySql connection
8-
"SSOConnection": "server=localhost;database=JpProject;user=bruno;password=pass"
8+
"SSOConnection": "server=10.10.0.6;database=Usuarios;user=sso;password=dlCx1F&:s@45xTnw_386.TdKss17w0%5+-:Q-F)1so9B2TC.Vk^}D8b7NPr49:TH"
99
},
1010
"Logging": {
1111
"IncludeScopes": false,

src/Backend/Jp.UserManagement/jpProject_sso_log.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59669,3 +59669,13 @@ LIMIT 1
5966959669
2018-10-14 14:27:57.364 -03:00 [INF] Request finished in 6432.1599ms 200 application/json; charset=utf-8
5967059670
2018-10-14 14:50:54.073 -03:00 [INF] Authority URI: https://localhost:5000
5967159671
2018-10-14 14:50:56.495 -03:00 [INF] User profile is available. Using 'C:\Users\Bruno\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
59672+
2018-10-15 10:44:11.140 -03:00 [INF] Authority URI: https://localhost:5000
59673+
2018-10-15 10:44:12.788 -03:00 [INF] User profile is available. Using 'C:\Users\bruno.brito\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
59674+
2018-10-15 10:44:46.657 -03:00 [INF] Authority URI: https://localhost:5000
59675+
2018-10-15 10:44:47.689 -03:00 [INF] User profile is available. Using 'C:\Users\bruno.brito\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
59676+
2018-10-15 11:10:13.832 -03:00 [INF] Authority URI: https://localhost:5000
59677+
2018-10-15 11:10:15.026 -03:00 [INF] User profile is available. Using 'C:\Users\bruno.brito\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
59678+
2018-10-15 15:33:22.775 -03:00 [INF] Authority URI: https://localhost:5000
59679+
2018-10-15 15:33:23.783 -03:00 [INF] User profile is available. Using 'C:\Users\bruno.brito\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.
59680+
2018-10-15 15:34:18.473 -03:00 [INF] Authority URI: https://localhost:5000
59681+
2018-10-15 15:34:19.598 -03:00 [INF] User profile is available. Using 'C:\Users\bruno.brito\AppData\Local\ASP.NET\DataProtection-Keys' as key repository and Windows DPAPI to encrypt keys at rest.

src/Frontend/Jp.UI.SSO/Views/Home/Index.cshtml

Lines changed: 24 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -28,31 +28,16 @@
2828
}
2929
<div class="container-fluid">
3030
<div class="row justify-content-center">
31-
<div class="col-md-4">
32-
<div class="card p-8">
33-
<div class="card-body">
34-
<div class="clearfix">
35-
<div class="d-none d-lg-block">
36-
<img class="icon img-fluid" src="@Url.Content("~/images/brand/logo.png")">
37-
</div>
38-
<div class="d-lg-none text-center">
39-
<img class="icon img-fluid" src="@Url.Content("~/images/brand/logo-min.png")">
40-
</div>
41-
42-
<h2 class="pt-3">Welcome to JP Project SSO.</h2>
43-
<p>A Single Sign On Server, User Management and Admin for ID4.</p>
44-
</div>
45-
<div class="row">
46-
<div class="col-sm-8">
47-
<p>
48-
Here are links to the
49-
<a href="https://github.com/brunohbrito/JP-Project">source code repository</a>,
50-
and <a href="https://jp-project.readthedocs.io/en/latest/index.html">docs to more info</a>.
51-
</p>
52-
</div>
53-
</div>
54-
</div>
55-
</div>
31+
<div class="jumbotron bg-primary text-white">
32+
<h1 class="display-4">Wellcome!</h1>
33+
<p class="lead">Jp Project is composed by 3 WebApp: A Single Sign On Server, User Management and Admin for ID4.</p>
34+
<hr class="my-4">
35+
<p>Access below each of them.</p>
36+
<p>
37+
Here are links to the
38+
<a class="text-white-50" href="https://github.com/brunohbrito/JP-Project">source code repository</a>,
39+
and <a class="text-white-50" href="https://jp-project.readthedocs.io/en/latest/index.html">docs to more info</a>.
40+
</p>
5641
</div>
5742
</div>
5843
<div class="row justify-content-center">
@@ -73,33 +58,38 @@
7358
</div>
7459
</div>
7560

76-
<div class="col-md-3 col-sm-4">
77-
<div class="card text-white bg-info">
61+
<div class="col-md-4 col-sm-4">
62+
<div class="card">
7863
<div class="card-body text-center">
79-
<div class="text-muted small text-uppercase font-weight-bold">IS4 Admin UI</div>
64+
<h2>IS4 Admin UI</h2>
8065
<a href="@JpProjectConfiguration.IdentityServerAdminUrl">
81-
<img class="icon" height="64" src="@Url.Content("~/images/brand/logo.png")">
66+
<div class="d-none d-lg-block">
67+
<img class="icon img-fluid" src="@Url.Content("~/images/brand/logo.png")">
68+
</div>
69+
<div class="d-lg-none text-center">
70+
<img class="icon img-fluid" src="@Url.Content("~/images/brand/logo-min.png")">
71+
</div>
8272
</a>
8373
<p>
8474
The main goal of Jp Project is provide a
8575
<a class="text-black-50" href="@JpProjectConfiguration.IdentityServerAdminUrl">Admin User Interface</a>
86-
to manage Identity Server 4.
76+
to manage Identity Server 4. A rich UI, developed in Angular 6.
8777
</p>
8878
<p>
89-
A rich UI, developed in Angular 6.
79+
Click <a href="@JpProjectConfiguration.IdentityServerAdminUrl">here</a> to manage Server.
9080
</p>
9181
</div>
9282
</div>
9383
</div>
9484
<div class="col-md-3 col-sm-4">
95-
<div class="card">
85+
<div class="card text-white bg-info">
9686
<div class="card-body text-center">
9787
<div class="text-muted small text-uppercase font-weight-bold">User Management</div>
9888
<a href="@JpProjectConfiguration.UserManagementUrl">
99-
<img class="icon" height="64" src="@Url.Content("~/images/clientLogo/1.jpg")">
89+
<img class="icon" height="64" src="@Url.Content("~/images/clientLogo/1.png")">
10090
</a>
10191
<p>
102-
<a href="@JpProjectConfiguration.UserManagementUrl">User Management UI</a> is an UI for users to manage himself data.
92+
<a class="text-white" href="@JpProjectConfiguration.UserManagementUrl">User Management UI</a> is an UI for users to manage himself data.
10393
you can change your profile, update password and so on.
10494
</p>
10595
<p>

src/Frontend/Jp.UI.SSO/jpProject_sso_log.txt

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3370,3 +3370,81 @@ System.IO.IOException: Authentication failed because the remote party has closed
33703370
2018-10-14 14:53:53.467 -03:00 [DBG] Found ["openid","profile","email"] identity scopes in database
33713371
2018-10-14 14:53:53.484 -03:00 [INF] Profile service returned to the following claim types: sub email picture preferred_username name email email_verified
33723372
2018-10-14 14:53:53.488 -03:00 [DBG] End userinfo request
3373+
2018-10-15 10:44:11.103 -03:00 [INF] SigninCredentialExtension keyType is Temporary
3374+
2018-10-15 10:44:11.304 -03:00 [INF] SigninCredentialExtension added
3375+
2018-10-15 10:44:13.886 -03:00 [ERR] Failed executing DbCommand (7ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
3376+
CREATE TABLE `StoredEvent` (
3377+
`Action` varchar(100) NULL,
3378+
`AggregateId` longtext NULL,
3379+
`CreationDate` datetime(6) NOT NULL,
3380+
`Id` char(36) NOT NULL,
3381+
`Data` longtext NULL,
3382+
`User` longtext NULL,
3383+
CONSTRAINT `PK_StoredEvent` PRIMARY KEY (`Id`)
3384+
);
3385+
MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'StoredEvent' already exists ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'StoredEvent' already exists
3386+
at MySqlConnector.Core.ServerSession.TryAsyncContinuation(Task`1 task) in C:\projects\mysqlconnector\src\MySqlConnector\Core\ServerSession.cs:line 1245
3387+
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
3388+
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
3389+
--- End of stack trace from previous location where exception was thrown ---
3390+
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
3391+
--- End of stack trace from previous location where exception was thrown ---
3392+
at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in C:\projects\mysqlconnector\src\MySqlConnector\Core\ResultSet.cs:line 42
3393+
at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet(ResultSet resultSet) in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlDataReader.cs:line 74
3394+
at MySql.Data.MySqlClient.MySqlDataReader.ReadFirstResultSetAsync(IOBehavior ioBehavior) in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlDataReader.cs:line 299
3395+
at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(MySqlCommand command, CommandBehavior behavior, ResultSetProtocol resultSetProtocol, IOBehavior ioBehavior) in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlDataReader.cs:line 284
3396+
at MySqlConnector.Core.TextCommandExecutor.ExecuteReaderAsync(String commandText, MySqlParameterCollection parameterCollection, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in C:\projects\mysqlconnector\src\MySqlConnector\Core\TextCommandExecutor.cs:line 37
3397+
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQueryAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlCommand.cs:line 261
3398+
at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteAsync(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues, CancellationToken cancellationToken)
3399+
2018-10-15 10:44:46.645 -03:00 [INF] SigninCredentialExtension keyType is Temporary
3400+
2018-10-15 10:44:46.784 -03:00 [INF] SigninCredentialExtension added
3401+
2018-10-15 10:44:52.253 -03:00 [DBG] Using Identity.Application as default scheme for authentication
3402+
2018-10-15 10:44:52.269 -03:00 [DBG] Using Identity.External as default scheme for sign-in
3403+
2018-10-15 10:44:52.272 -03:00 [DBG] Using Identity.External as default scheme for sign-out
3404+
2018-10-15 10:44:52.274 -03:00 [DBG] Using Identity.Application as default scheme for challenge
3405+
2018-10-15 10:44:52.277 -03:00 [DBG] Using Identity.Application as default scheme for forbid
3406+
2018-10-15 10:45:16.411 -03:00 [INF] AuthenticationScheme: Identity.Application signed out.
3407+
2018-10-15 10:45:16.424 -03:00 [INF] AuthenticationScheme: Identity.External signed out.
3408+
2018-10-15 10:45:16.427 -03:00 [INF] AuthenticationScheme: Identity.TwoFactorUserId signed out.
3409+
2018-10-15 10:45:16.434 -03:00 [INF] Identity.Application was not authenticated. Failure message: No principal.
3410+
2018-10-15 10:45:16.449 -03:00 [INF] Identity.Application was not authenticated. Failure message: No principal.
3411+
2018-10-15 11:10:13.903 -03:00 [INF] SigninCredentialExtension keyType is Temporary
3412+
2018-10-15 11:10:14.088 -03:00 [INF] SigninCredentialExtension added
3413+
2018-10-15 11:10:18.066 -03:00 [DBG] Using Identity.Application as default scheme for authentication
3414+
2018-10-15 11:10:18.081 -03:00 [DBG] Using Identity.External as default scheme for sign-in
3415+
2018-10-15 11:10:18.084 -03:00 [DBG] Using Identity.External as default scheme for sign-out
3416+
2018-10-15 11:10:18.085 -03:00 [DBG] Using Identity.Application as default scheme for challenge
3417+
2018-10-15 11:10:18.087 -03:00 [DBG] Using Identity.Application as default scheme for forbid
3418+
2018-10-15 15:33:22.804 -03:00 [INF] SigninCredentialExtension keyType is Temporary
3419+
2018-10-15 15:33:22.938 -03:00 [INF] SigninCredentialExtension added
3420+
2018-10-15 15:33:25.240 -03:00 [ERR] Failed executing DbCommand (13ms) [Parameters=[], CommandType='"Text"', CommandTimeout='30']
3421+
CREATE TABLE `StoredEvent` (
3422+
`Action` varchar(100) NULL,
3423+
`AggregateId` longtext NULL,
3424+
`CreationDate` datetime(6) NOT NULL,
3425+
`Id` char(36) NOT NULL,
3426+
`Data` longtext NULL,
3427+
`User` longtext NULL,
3428+
CONSTRAINT `PK_StoredEvent` PRIMARY KEY (`Id`)
3429+
);
3430+
MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'StoredEvent' already exists ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'StoredEvent' already exists
3431+
at MySqlConnector.Core.ServerSession.TryAsyncContinuation(Task`1 task) in C:\projects\mysqlconnector\src\MySqlConnector\Core\ServerSession.cs:line 1245
3432+
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
3433+
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
3434+
--- End of stack trace from previous location where exception was thrown ---
3435+
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
3436+
--- End of stack trace from previous location where exception was thrown ---
3437+
at MySqlConnector.Core.ResultSet.ReadResultSetHeaderAsync(IOBehavior ioBehavior) in C:\projects\mysqlconnector\src\MySqlConnector\Core\ResultSet.cs:line 42
3438+
at MySql.Data.MySqlClient.MySqlDataReader.ActivateResultSet(ResultSet resultSet) in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlDataReader.cs:line 74
3439+
at MySql.Data.MySqlClient.MySqlDataReader.ReadFirstResultSetAsync(IOBehavior ioBehavior) in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlDataReader.cs:line 299
3440+
at MySql.Data.MySqlClient.MySqlDataReader.CreateAsync(MySqlCommand command, CommandBehavior behavior, ResultSetProtocol resultSetProtocol, IOBehavior ioBehavior) in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlDataReader.cs:line 284
3441+
at MySqlConnector.Core.TextCommandExecutor.ExecuteReaderAsync(String commandText, MySqlParameterCollection parameterCollection, CommandBehavior behavior, IOBehavior ioBehavior, CancellationToken cancellationToken) in C:\projects\mysqlconnector\src\MySqlConnector\Core\TextCommandExecutor.cs:line 37
3442+
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQueryAsync(IOBehavior ioBehavior, CancellationToken cancellationToken) in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlCommand.cs:line 261
3443+
at Microsoft.EntityFrameworkCore.Storage.Internal.RelationalCommand.ExecuteAsync(IRelationalConnection connection, DbCommandMethod executeMethod, IReadOnlyDictionary`2 parameterValues, CancellationToken cancellationToken)
3444+
2018-10-15 15:34:18.472 -03:00 [INF] SigninCredentialExtension keyType is Temporary
3445+
2018-10-15 15:34:18.618 -03:00 [INF] SigninCredentialExtension added
3446+
2018-10-15 15:34:35.725 -03:00 [DBG] Using Identity.Application as default scheme for authentication
3447+
2018-10-15 15:34:35.740 -03:00 [DBG] Using Identity.External as default scheme for sign-in
3448+
2018-10-15 15:34:35.742 -03:00 [DBG] Using Identity.External as default scheme for sign-out
3449+
2018-10-15 15:34:35.746 -03:00 [DBG] Using Identity.Application as default scheme for challenge
3450+
2018-10-15 15:34:35.748 -03:00 [DBG] Using Identity.Application as default scheme for forbid
-40.6 KB
Binary file not shown.
138 KB
Loading

0 commit comments

Comments
 (0)