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

Commit 323814c

Browse files
committed
small changes
1 parent f042a00 commit 323814c

6 files changed

Lines changed: 70 additions & 45 deletions

File tree

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
.env
33
.git
44
.gitignore
5-
.vs/
5+
**/.vs/
66
.vscode
77
*/bin
88
*/obj

src/Backend/Jp.Infra.CrossCutting.Identity/Constants/AuthorizationConsts.cs

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/Backend/Jp.Infra.CrossCutting.Identity/Constants/ConfigurationConsts.cs

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/Backend/Jp.UserManagement/jpProject_sso_log.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59669,3 +59669,7 @@ 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-14 17:58:20.294 -03:00 [INF] Authority URI: https://localhost:5000
59673+
2018-10-14 17:58:21.841 -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.
59674+
2019-02-03 02:59:28.379 -02:00 [INF] Authority URI: https://localhost:5000
59675+
2019-02-03 02:59:29.703 -02: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.

src/Frontend/Jp.UI.SSO/Startup.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env)
8585
{
8686
app.UseDeveloperExceptionPage();
8787
}
88-
app.UseDeveloperExceptionPage();
8988
app.UseSecurityHeaders(env);
9089
app.UseStaticFiles();
9190
app.UseIdentityServer();

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

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3370,3 +3370,68 @@ 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-14 17:58:20.492 -03:00 [INF] SigninCredentialExtension keyType is Temporary
3374+
2018-10-14 17:58:20.715 -03:00 [INF] SigninCredentialExtension added
3375+
2018-10-14 17:58:25.041 -03:00 [DBG] Using Identity.Application as default scheme for authentication
3376+
2018-10-14 17:58:25.060 -03:00 [DBG] Using Identity.External as default scheme for sign-in
3377+
2018-10-14 17:58:25.065 -03:00 [DBG] Using Identity.External as default scheme for sign-out
3378+
2018-10-14 17:58:25.070 -03:00 [DBG] Using Identity.Application as default scheme for challenge
3379+
2018-10-14 17:58:25.077 -03:00 [DBG] Using Identity.Application as default scheme for forbid
3380+
2018-10-14 17:58:48.769 -03:00 [DBG] CORS request made for path: /Account/Logout from origin: null but was ignored because path was not for an allowed IdentityServer CORS endpoint
3381+
2018-10-14 17:58:48.820 -03:00 [INF] AuthenticationScheme: Identity.Application signed out.
3382+
2018-10-14 17:58:48.825 -03:00 [INF] AuthenticationScheme: Identity.External signed out.
3383+
2018-10-14 17:58:48.828 -03:00 [INF] AuthenticationScheme: Identity.TwoFactorUserId signed out.
3384+
2018-10-14 17:58:48.840 -03:00 [INF] {
3385+
"Name": "User Logout Success",
3386+
"Category": "Authentication",
3387+
"EventType": "Success",
3388+
"Id": 1002,
3389+
"SubjectId": "d36b7160-b58b-4e68-8d0a-fe959d445f4b",
3390+
"DisplayName": "bhdebrito@gmail.com",
3391+
"ActivityId": "0HLHI2V9Q872A:00000008",
3392+
"TimeStamp": "2018-10-14T20:58:48Z",
3393+
"ProcessId": 11844,
3394+
"LocalIpAddress": "::1:5000",
3395+
"RemoteIpAddress": "::1"
3396+
}
3397+
2018-10-14 17:58:48.965 -03:00 [DBG] Request path /connect/endsession/callback matched to endpoint type Endsession
3398+
2018-10-14 17:58:48.976 -03:00 [DBG] Endpoint enabled: Endsession, successfully created handler: IdentityServer4.Endpoints.EndSessionCallbackEndpoint
3399+
2018-10-14 17:58:48.981 -03:00 [INF] Invoking IdentityServer endpoint: IdentityServer4.Endpoints.EndSessionCallbackEndpoint for /connect/endsession/callback
3400+
2018-10-14 17:58:48.992 -03:00 [DBG] Processing signout callback request
3401+
2018-10-14 17:58:49.457 -03:00 [DBG] UserManagementUI found in database: true
3402+
2018-10-14 17:58:49.493 -03:00 [DBG] IS4-Admin found in database: true
3403+
2018-10-14 17:58:49.496 -03:00 [DBG] No client front-channel logout URLs
3404+
2018-10-14 17:58:49.499 -03:00 [DBG] No client back-channel logout URLs
3405+
2018-10-14 17:58:49.504 -03:00 [INF] Successful signout callback.
3406+
2018-10-14 17:58:49.507 -03:00 [DBG] No client front-channel iframe urls
3407+
2018-10-14 17:58:49.511 -03:00 [DBG] No client back-channel iframe urls
3408+
2018-10-14 17:58:51.453 -03:00 [INF] AuthenticationScheme: Google was challenged.
3409+
2018-10-14 17:59:03.013 -03:00 [INF] AuthenticationScheme: idsrv.external signed in.
3410+
2018-10-14 17:59:03.118 -03:00 [INF] {
3411+
"Name": "User Login Success",
3412+
"Category": "Authentication",
3413+
"EventType": "Success",
3414+
"Id": 1000,
3415+
"Provider": "Google",
3416+
"ProviderUserId": "102696868227620762147",
3417+
"SubjectId": "d36b7160-b58b-4e68-8d0a-fe959d445f4b",
3418+
"DisplayName": "bhdebrito@gmail.com",
3419+
"Endpoint": "UI",
3420+
"ActivityId": "0HLHI2V9Q872A:0000000E",
3421+
"TimeStamp": "2018-10-14T20:59:03Z",
3422+
"ProcessId": 11844,
3423+
"LocalIpAddress": "::1:5000",
3424+
"RemoteIpAddress": "::1"
3425+
}
3426+
2018-10-14 17:59:03.131 -03:00 [DBG] Augmenting SignInContext
3427+
2018-10-14 17:59:03.136 -03:00 [DBG] Adding amr claim with value: external
3428+
2018-10-14 17:59:03.142 -03:00 [INF] AuthenticationScheme: Identity.Application signed in.
3429+
2018-10-14 17:59:03.145 -03:00 [INF] AuthenticationScheme: Identity.External signed out.
3430+
2019-02-03 02:59:28.462 -02:00 [INF] SigninCredentialExtension keyType is Temporary
3431+
2019-02-03 02:59:28.667 -02:00 [INF] SigninCredentialExtension added
3432+
2019-02-03 02:59:30.565 -02:00 [ERR] An error occurred using the connection to database '' on server 'localhost'.
3433+
MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'bruno'@'172.18.0.1' (using password: YES)
3434+
at MySqlConnector.Core.ServerSession.ConnectAsync(ConnectionSettings cs, ILoadBalancer loadBalancer, IOBehavior ioBehavior, CancellationToken cancellationToken) in C:\projects\mysqlconnector\src\MySqlConnector\Core\ServerSession.cs:line 356
3435+
at MySql.Data.MySqlClient.MySqlConnection.CreateSessionAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlConnection.cs:line 416
3436+
at MySql.Data.MySqlClient.MySqlConnection.OpenAsync(Nullable`1 ioBehavior, CancellationToken cancellationToken) in C:\projects\mysqlconnector\src\MySqlConnector\MySql.Data.MySqlClient\MySqlConnection.cs:line 175
3437+
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)

0 commit comments

Comments
 (0)