Activities of "guven.uysall"

Hi @berkan, In the client we created, we can only receive tokens with admin via postman. When we create a new user from the user screen in angular and try to login with this user in postman

{ "error": "invalid_grant", "error_description": "Invalid username or password!" } 2022-10-28 12:12:31.703 +03:00 [INF] User authentication failed: Invalid username or password!, details: {"ClientId":"HitFrame_HitMobile_Flutter","ClientName":"HitFrame_HitMobile_Flutter","GrantType":"password","Scopes":"AccountService address AdministrationService email HitMobileService IdentityService offline_access openid phone profile role SaasService","AuthorizationCode":"********","RefreshToken":"********","UserName":"hitmobile","AuthenticationContextReferenceClasses":null,"Tenant":null,"IdP":null,"Raw":{"client_id":"HitFrame_HitMobile_Flutter","client_secret":"***REDACTED***","username":"hitmobile","password":"***REDACTED***","grant_type":"password"},"$type":"TokenRequestValidationLog"} 2022-10-28 12:12:31.703 +03:00 [INF] {"Username":"hitmobile","Endpoint":"Token","ClientId":"HitFrame_HitMobile_Flutter","Category":"Authentication","Name":"User Login Failure","EventType":"Failure","Id":1001,"Message":"Invalid username or password!","ActivityId":"8000002f-0000-ef00-b63f-84710c7967bb","TimeStamp":"2022-10-28T09:12:31.0000000Z","ProcessId":17324,,,"$type":"UserLoginFailureEvent"} 2022-10-28 12:12:31.704 +03:00 [INF] {"ClientId":"HitFrame_HitMobile_Flutter","ClientName":"HitFrame_HitMobile_Flutter","RedirectUri":null,"Endpoint":"Token","SubjectId":null,"Scopes":"AccountService address AdministrationService email HitMobileService IdentityService offline_access openid phone profile role SaasService","GrantType":"password","Error":"invalid_grant","ErrorDescription":"Invalid username or password!","Category":"Token","Name":"Token Issued Failure","EventType":"Failure","Id":2001,"Message":null,"ActivityId":"8000002f-0000-ef00-b63f-84710c7967bb","TimeStamp":"2022-10-28T09:12:31.0000000Z","ProcessId":17324,}

Hi berkan,

@Maliming number one in the world

  • ABP Framework version: v5.3.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

When I try to login with angular application, it gives me information such as access_token, id token, refresh token. When I do the token import with postman or in my flutter application, I can't get refresh_token information, id_token information. Only acces token information comes.

  • ABP Framework version: v5.3.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:" Q1. I am trying to login in Postman. I want to login with Tenant user? How should the Postman body information be? I would like your help on this?
  • ABP Framework version: v5.3.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

When we created the microservice template with the Abp version we use, there is no health check. I had to write it myself. It is available in application templates.

Hi, Is it possible to share sample code about it? Is there an example in abpframework github repos?

thanks @gterdem.

$saasServiceCNs = "saas-service", "localhost" $saasServiceCert = New-SelfSignedCertificate -DnsName $saasServiceCNs -CertStoreLocation Cert:\LocalMachine\My $password = ConvertTo-SecureString -String "b65bdeef-3b4c-4417-a92d-636f8c481437" -Force -AsPlainText

Export-PfxCertificate -Cert $saasServiceCert -FilePath saas-service.pfx -Password $password | Out-Null

With the help of the code above, I create a domain-specific pfx. Then, after typing windows+R, I write "mmc". On the screen that opens, I add the local certificate I created to "Personnel" and "Trusted Certificates" from the Certificate management. With this method, I made the certificate I installed on IIS trusted.

thank you for your interest.

By the way, we can't install docker on every client. That's why we use IIS. I didn't get any errors about certificate reliability in docker. IIS didn't trust. Anyway, I took care of it :)

  • ABP Framework version: v5.3.4
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Hi,

For example, there is a Product microservice. I want to show the user who created a record in this Product table on the listing screen. AbpUser is located in another microservice.

Product Name Created By Product1----> Guven Product2---> Galip Product3----> Maliming . . .

Hi @gterdem, $saasServiceCNs = "saas-service", "localhost" $saasServiceCert = New-SelfSignedCertificate -DnsName $saasServiceCNs -CertStoreLocation Cert:\LocalMachine\My $password = ConvertTo-SecureString -String "b65bdeef-3b4c-4417-a92d-636f8c481437" -Force -AsPlainText

Export-PfxCertificate -Cert $saasServiceCert -FilePath saas-service.pfx -Password $password | Out-Null

It would be great if you could explain the reason of the problem :)

Zobrazeno od 41 do 50 z celkem 67 záznamů
Made with ❤️ on ABP v8.2.0-preview Updated on března 25, 2024, 15:11