p2-inc / idp-wizard

Identity Provider setup wizards for Keycloak
https://phasetwo.io
Other
1 stars 1 forks source link

OpenID IDP wizard not populating urls #178

Closed konsri closed 4 days ago

konsri commented 2 months ago

Steps to reproduce

  1. Login to https://phasetwo.io/dashboard/deployments
  2. Click on Open Console
  3. Click on Organizations
  4. Create organization
  5. Click on organization link
  6. Copy Organization Portal Link from Action button
  7. Open this link in new window
  8. Click on OpenID identity provider.
  9. Provide details in steps
  10. Finish the wizard
  11. Goback to your admin UI.
  12. Click on identity providers
  13. Open the newly created identity provider Expected Authorization/Token/Logout/User Info urls are populated Issue All these urls are empty
xgp commented 3 weeks ago

@pnzrr need to check that the generic OIDC wizard is building the IdP config properly.

pnzrr commented 4 days ago

@konsri for step 9 what step are you using to provide details? There is a Configuration URL, File or Details. Are you using the manual one?

I was able to reproduce your error with the URL method. I have updated the API call to include data returned from the URL validation call.


@xgp For manual, it does look like all values are being passed correctly to the import-config endpoint but getting a 400 back from the server when trying to validate manually

image image

This may be a separate issue we can file.

xgp commented 3 days ago

@pnzrr Looks like a separate issue. Can you post this as a bug to the keycloak-orgs repo with the full request you are sending?