feat(pr: issue-351): integrate is4 to smalltalk reactjs app#352
feat(pr: issue-351): integrate is4 to smalltalk reactjs app#352live-dev999 merged 13 commits intoO2-Bionics:devfrom
Conversation
| AllowedGrantTypes = GrantTypes.Implicit, | ||
| AllowAccessTokensViaBrowser = true, | ||
|
|
||
| RedirectUris = { $"http://localhost:5003/swagger/o2c.html" }, |
There was a problem hiding this comment.
You need to move it to appsettings.json
| "http://localhost:3003/signin-oidc", | ||
| }, | ||
|
|
||
| PostLogoutRedirectUris = { "http://localhost:3003/signout-oidc" }, |
There was a problem hiding this comment.
You need to move it to appsettings.json
| }, | ||
|
|
||
| PostLogoutRedirectUris = { "http://localhost:3003/signout-oidc" }, | ||
| AllowedCorsOrigins = { "http://localhost:3003" }, |
There was a problem hiding this comment.
You need to move it to appsettings.json
| AllowedScopes = | ||
| ClientId = "smalltalk_client_reactjs", | ||
| ClientName = "SmallTalk React App", | ||
| ClientUri = "http://localhost:3003", |
There was a problem hiding this comment.
You need to move it to appsettings.json
| $"Please confirm your account by <a href='{HtmlEncoder.Default.Encode(callbackUrl)}'>clicking here</a>."); | ||
|
|
||
| Console.WriteLine(HtmlEncoder.Default.Encode(callbackUrl)); | ||
| //await _emailSender.SendEmailAsync(Input.Email, "Confirm your email", |
There was a problem hiding this comment.
You need to uncomment it
| "ASPNETCORE_ENVIRONMENT": "Development" | ||
| }, | ||
| "applicationUrl": "https://localhost:10001;http://localhost:5001" | ||
| "applicationUrl": "http://localhost:5001" |
There was a problem hiding this comment.
You need to revert line
| "AllowedHosts": "*", | ||
| "urls": { | ||
| "ESenderUrl": "https://e-sender" | ||
| "ESenderUrl": "https://e-sender.o2bus.com" |
There was a problem hiding this comment.
You need to revert it
| [Route("session/{sessionId}/messages")] | ||
| public async Task<IActionResult> AddAsync(long sessionId, ChatMessage chatMessage, CancellationToken ct) | ||
| { | ||
| var userId = HttpContext.User.FindFirst("sub").Value; |
There was a problem hiding this comment.
You need to move it to identity service(need create)
| { | ||
| return Bus.Factory.CreateUsingRabbitMq(rmq => | ||
| { | ||
| rmq.Host(new Uri("rabbitmq://rabbitmq"), "/", h => |
There was a problem hiding this comment.
You need to move it to appsettings.json
| @@ -6,7 +6,7 @@ | |||
| }, | |||
| "AllowedHosts": "*", | |||
| "urls": { | |||
There was a problem hiding this comment.
You need to add all envs
| { | ||
| await Groups.AddToGroupAsync(Context.ConnectionId, username); | ||
| this.username = username; | ||
| // var httpContext = Context.GetHttpContext(); |
There was a problem hiding this comment.
You need to delete it
| } | ||
|
|
||
| #endregion | ||
| // string username; |
There was a problem hiding this comment.
You need to delete it
| { | ||
| await _chatHub.Clients | ||
| .All | ||
| .SendAsync("OnSetOnline"); |
There was a problem hiding this comment.
Need create normal name for var
| { | ||
| return Bus.Factory.CreateUsingRabbitMq(rmq => | ||
| { | ||
| rmq.Host(new Uri("rabbitmq://rabbitmq"), "/", h => |
There was a problem hiding this comment.
You need to move it to appsettings.json
| }).AddJwtBearer(options => | ||
| { | ||
| // identity server issuing token | ||
| options.Authority = "http://localhost:5001"; |
There was a problem hiding this comment.
You need to move it to appsettings.json
|
SonarCloud Quality Gate failed.
|









No description provided.