DX Custom Components - Authentication error

I created a custom component via VS Code and want to continue with the authentication to puplish the component.

The authentication process leads me to the pega log in screen and after login to the App Studio, but I am not getting the Authentication success message in the terminal.

Also I am not getting asked for the client Id or client secret as described in the documentation (Pegasystems Documentation).

I also tried to insert the client id and client secret into the confi.json file (described here:

Pegasystems Documentation),

but still I am getting no success message.

Any Idea what I can try to authenticate successfully?

Thank you!

@KajaK16640397

  • Could you please share what you see on the browser post login?
  • Do you see any console logs?
  • Did you use different OAuth 2.0 Client Registration? It’s recommended to use this one DX-ComponentDev

Post login you should be redirected to localhost:4100 with authcode in query params. In Addition, you should see this message.

@khawj

Thanks for the Reply!

After logging in I see the App Studio in the Browser and I do not get redirected localhost:4100.

I do not see any console logs and I used DX-ComponentDev for the client registration.

Hope that helps.

@KajaK16640397 got it! I can see in your previous screenshot you have the following server url: https://aa7jgnah.pegace.net/prweb/PRAuth/app/default. try to remove everything after prweb, so it look like this: https://aa7jgnah.pegace.net/prweb

@khawj That worked. Thank you!