Activities of "ahmet.ulusoy"

  • ABP Framework version: v8.0.1
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:
  • Solution: Microservice Template

Hello Dear ABP Support Team,

We successfully completed social media sign up/in for web applications with ABP commercial package, thanks to ABP Team. Now, we also want to add social media sign up/in from our mobile app. Our mobile application is developed with flutter and we completed everything except social media sign up/in.

Firstly, we want to integrate Google Sign Up/In like ABP Team like done in Web applications.

  1. We created OAuth consent screen descriptions in Google Cloud
  2. We created credentials for OAuth client id for application type: android
  3. We successfully integrated with given client id with our flutter application
  4. When we complete Google Sign In request in our flutter application google sends a response with Access Token and Hash Code

After that what we need to do, make it like Abp Commercial Social Media Sign Up/In in Web Applications?

We try to make everything flutter native, so, we can't use web view or embedded browser to show up a login/register page.

I tried to use identity server endpoints which are described in '.well-known/openid-configuration' but I couldn't find the right endpoint for token exchange or similar.

Can you support us on how we can integrate social media apps sign up/in with proper AuthServer endpoints?

Note: Our flutter app connects to a mobile gateway to access needed microservices. Our flutter app also can call some of the AuthServer endpoints which are 'token_endpoint', 'end_session_endpoint' and 'userinfo_endpoint' for authentication operations.

What we want to do is like below

  1. Login to Social Media App
  2. Get needed tokens
  3. Send the token/s needed endpoints
  4. Check the user for user has any registrations in our system
  5. Send user to registration page in our mobile app, complete sign up, login user without password or Login user without password

hi

The SignalR works on the web and SignalRClient projects.

Can you test it?

Thanks

https://github.com/ahmet-ulusoy/ForYou.Exchange/commit/c5f0d1487c12ba53a8645f62aba48af2deebb6b1

Hi maliming,

Great solution, everything works perfectly.

Thank you so much for everything.

If i add ChatSignalR module to ChatSercice.HttpApi.Host project I can connect it over a gateway.

Hi maliming,

I added SignalRClient project to under apps folder.

Hi maliming,

I saw your commit. I know it's working like that, as I mentioned before, I need to access it over gateways, because we have third gateway which is for mobile and when we made it like it we can't connect over gateways to signalr.

Do you have a solution for that?

Thanks, waiting for your replies

Hi maliming,

I reproduce this in a new MS Template.

Also, invite you to the project.

Can you check your e-mail box, please.

ProjectName: ForYou.Exchange

Hi maliming,

We can't share the project because of the company rules. But we can check it together in my pc.

But when I send a message to a user from web application, the other user' web application don't show any notifications. Therefore I say signalr is not working when we add ChatSignalRModule to ChatService.HttpApi.Host project.

If you have time, can we make a teams meeting

Logs for chat-service

[chat-service_3be2a96e-e]: [11:33:13 INF] Executing endpoint 'Volo.Chat.Users.ContactController.GetContactsAsync (Volo.Chat.HttpApi)' [chat-service_3be2a96e-e]: [11:33:13 INF] Route matched with {area = "chat", action = "GetContacts", controller = "Contact"}. Executing controller action with signature System.Threading.Tasks.Task1[System.Collections.Generic.List1[Volo.Chat.Users.ChatContactDto]] GetContactsAsync(Volo.Chat.Users.GetContactsInput) on controller Volo.Chat.Users.ContactController (Volo.Chat.HttpApi). [chat-service_3be2a96e-e]: [11:33:13 INF] Executing action method Volo.Chat.Users.ContactController.GetContactsAsync (Volo.Chat.HttpApi) - Validation state: Valid [chat-service_3be2a96e-e]: [11:33:13 INF] Start processing HTTP request GET https://localhost:44322/.well-known/openid-configuration [chat-service_3be2a96e-e]: [11:33:13 INF] Sending HTTP request GET https://localhost:44322/.well-known/openid-configuration [chat-service_3be2a96e-e]: [11:33:13 INF] Received HTTP response headers after 13.1045ms - 200 [chat-service_3be2a96e-e]: [11:33:13 INF] End processing HTTP request after 13.3562ms - 200 [chat-service_3be2a96e-e]: [11:33:13 INF] Start processing HTTP request GET https://localhost:44322/.well-known/jwks [chat-service_3be2a96e-e]: [11:33:13 INF] Sending HTTP request GET https://localhost:44322/.well-known/jwks [chat-service_3be2a96e-e]: [11:33:13 INF] Received HTTP response headers after 2.2632ms - 200 [chat-service_3be2a96e-e]: [11:33:13 INF] End processing HTTP request after 2.4637ms - 200 [chat-service_3be2a96e-e]: [11:33:13 INF] Start processing HTTP request POST https://localhost:44322/connect/token [chat-service_3be2a96e-e]: [11:33:13 INF] Sending HTTP request POST https://localhost:44322/connect/token [chat-service_3be2a96e-e]: [11:33:13 INF] Received HTTP response headers after 58.8366ms - 200 [chat-service_3be2a96e-e]: [11:33:13 INF] End processing HTTP request after 59.3674ms - 200 [chat-service_3be2a96e-e]: [11:33:13 INF] Start processing HTTP request GET https://localhost:44388/integration-api/identity/users/c486aede-2e34-cd8d-a5e5-3a121d3de1b4/role-names?api-version=1.0 [chat-service_3be2a96e-e]: [11:33:13 INF] Sending HTTP request GET https://localhost:44388/integration-api/identity/users/c486aede-2e34-cd8d-a5e5-3a121d3de1b4/role-names?api-version=1.0 [chat-service_3be2a96e-e]: [11:33:13 INF] Received HTTP response headers after 19.7483ms - 200 [chat-service_3be2a96e-e]: [11:33:13 INF] End processing HTTP request after 20.1448ms - 200 [chat-service_3be2a96e-e]: [11:33:13 INF] Executed action method Volo.Chat.Users.ContactController.GetContactsAsync (Volo.Chat.HttpApi), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 123.5036ms. [chat-service_3be2a96e-e]: [11:33:13 INF] Executing ObjectResult, writing value of type 'System.Collections.Generic.List1[[Volo.Chat.Users.ChatContactDto, Volo.Chat.Application.Contracts, Version=8.0.1.0, Culture=neutral, PublicKeyToken=null]]'. [chat-service_3be2a96e-e]: [11:33:13 INF] Executed action Volo.Chat.Users.ContactController.GetContactsAsync (Volo.Chat.HttpApi) in 127.4927ms [chat-service_3be2a96e-e]: [11:33:13 INF] Executed endpoint 'Volo.Chat.Users.ContactController.GetContactsAsync (Volo.Chat.HttpApi)' [chat-service_3be2a96e-e]: [11:33:13 INF] Executing endpoint 'Volo.Chat.Conversations.ConversationController.GetConversationAsync (Volo.Chat.HttpApi)' [chat-service_3be2a96e-e]: [11:33:13 INF] Route matched with {area = "chat", action = "GetConversation", controller = "Conversation"}. Executing controller action with signature System.Threading.Tasks.Task1[Volo.Chat.Conversations.ChatConversationDto] GetConversationAsync(Volo.Chat.Conversations.GetConversationInput) on controller Volo.Chat.Conversations.ConversationController (Volo.Chat.HttpApi). [chat-service_3be2a96e-e]: [11:33:13 INF] Executing action method Volo.Chat.Conversations.ConversationController.GetConversationAsync (Volo.Chat.HttpApi) - Validation state: Valid [chat-service_3be2a96e-e]: [11:33:13 INF] Executed action method Volo.Chat.Conversations.ConversationController.GetConversationAsync (Volo.Chat.HttpApi), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 19.0043ms. [chat-service_3be2a96e-e]: [11:33:13 INF] Executing ObjectResult, writing value of type 'Volo.Chat.Conversations.ChatConversationDto'. [chat-service_3be2a96e-e]: [11:33:13 INF] Executed action Volo.Chat.Conversations.ConversationController.GetConversationAsync (Volo.Chat.HttpApi) in 23.9916ms [chat-service_3be2a96e-e]: [11:33:13 INF] Executed endpoint 'Volo.Chat.Conversations.ConversationController.GetConversationAsync (Volo.Chat.HttpApi)' [chat-service_3be2a96e-e]: [11:33:37 INF] Executing endpoint 'Volo.Chat.Conversations.ConversationController.SendMessageAsync (Volo.Chat.HttpApi)' [chat-service_3be2a96e-e]: [11:33:37 INF] Route matched with {area = "chat", action = "SendMessage", controller = "Conversation"}. Executing controller action with signature System.Threading.Tasks.Task`1[Volo.Chat.Messages.ChatMessageDto] SendMessageAsync(Volo.Chat.Messages.SendMessageInput) on controller Volo.Chat.Conversations.ConversationController (Volo.Chat.HttpApi). [chat-service_3be2a96e-e]: [11:33:37 INF] Executing action method Volo.Chat.Conversations.ConversationController.SendMessageAsync (Volo.Chat.HttpApi) - Validation state: Valid [chat-service_3be2a96e-e]: [11:33:37 INF] Start processing HTTP request GET https://localhost:44322/.well-known/openid-configuration [chat-service_3be2a96e-e]: [11:33:37 INF] Sending HTTP request GET https://localhost:44322/.well-known/openid-configuration [chat-service_3be2a96e-e]: [11:33:37 INF] Received HTTP response headers after 5.3215ms - 200 [chat-service_3be2a96e-e]: [11:33:37 INF] End processing HTTP request after 5.5261ms - 200 [chat-service_3be2a96e-e]: [11:33:37 INF] Start processing HTTP request GET https://localhost:44322/.well-known/jwks [chat-service_3be2a96e-e]: [11:33:37 INF] Sending HTTP request GET https://localhost:44322/.well-known/jwks [chat-service_3be2a96e-e]: [11:33:37 INF] Received HTTP response headers after 2.0173ms - 200 [chat-service_3be2a96e-e]: [11:33:37 INF] End processing HTTP request after 2.2119ms - 200 [chat-service_3be2a96e-e]: [11:33:37 INF] Start processing HTTP request POST https://localhost:44322/connect/token [chat-service_3be2a96e-e]: [11:33:37 INF] Sending HTTP request POST https://localhost:44322/connect/token [chat-service_3be2a96e-e]: [11:33:37 INF] Received HTTP response headers after 46.1733ms - 200 [chat-service_3be2a96e-e]: [11:33:37 INF] End processing HTTP request after 46.3972ms - 200 [chat-service_3be2a96e-e]: [11:33:37 INF] Start processing HTTP request GET https://localhost:44388/integration-api/identity/users/c486aede-2e34-cd8d-a5e5-3a121d3de1b4/role-names?api-version=1.0 [chat-service_3be2a96e-e]: [11:33:37 INF] Sending HTTP request GET https://localhost:44388/integration-api/identity/users/c486aede-2e34-cd8d-a5e5-3a121d3de1b4/role-names?api-version=1.0 [chat-service_3be2a96e-e]: [11:33:37 INF] Received HTTP response headers after 10.6625ms - 200 [chat-service_3be2a96e-e]: [11:33:37 INF] End processing HTTP request after 10.9045ms - 200 [chat-service_3be2a96e-e]: [11:33:37 INF] Executed action method Volo.Chat.Conversations.ConversationController.SendMessageAsync (Volo.Chat.HttpApi), returned result Microsoft.AspNetCore.Mvc.ObjectResult in 126.6964ms. [chat-service_3be2a96e-e]: [11:33:37 INF] Executing ObjectResult, writing value of type 'Volo.Chat.Messages.ChatMessageDto'. [chat-service_3be2a96e-e]: [11:33:37 INF] Executed action Volo.Chat.Conversations.ConversationController.SendMessageAsync (Volo.Chat.HttpApi) in 130.2079ms [chat-service_3be2a96e-e]: [11:33:37 INF] Executed endpoint 'Volo.Chat.Conversations.ConversationController.SendMessageAsync (Volo.Chat.HttpApi)'

Showing 1 to 10 of 29 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11