Error authenticating

So I’ve created the Roles that I need on the Gateway and I do see the login prompt now when I access the page I’m after. However when I click the “Continue to sign in” button I receive this error in the browser:

HTTP ERROR 400
Problem accessing /data/oidc/auth. Reason:

Bad client_id

Hi @kevin.deyoung -

Which version of Ignition are you running?

Could you copy and paste the full URL of the page which shows the 400 error message? I am interested in seeing the query params of the request URL.

http://192.168.1.110:8088/data/perspective/client/AcmeTracking/acmetabview

Are you sure that is the correct URL?

The 400 error mentions there was a problem accessing /data/oidc/auth which does not seem to line up with the full URL you shared…

I’m looking for the full URL that is shown in the browser when the 400 error page is displayed.

http://192.168.1.110:8088/data/oidc/auth?response_type=code&client_id=urn%3Aignition%3Auser-sources%3A4&redirect_uri=%2Fdata%2Ffederate%2Fcallback%2Fignition&scope=openid&state=eyJraWQiOiJrMSIsImFsZyI6IkhTMjU2In0.eyJqdGkiOiJndHBsSUx0cjh1TXlhNVRNMGc5ZnFjYlNHYjdzczNiS0c2dXpxNjRFbWlJIiwidXJpIjoiL2RhdGEvcGVyc3BlY3RpdmUvY2xpZW50L0FjbWVUcmFja2luZy9hY21ldGFidmlldyJ9.MRacCMOWt61aLWAo50Hir7KpdjlyIGscy2BkvN53a5I&nonce=5yRx5e4u7hrXGnJUhTAdbombLZpC_OGg6v8UCYLVYho

That looks like the URL I was looking for, thanks.
Which version of Ignition are you running?

8.0.3

I believe what is happening is: your Perspective Project is pointing to an Ignition IdP you configured in the Gateway config page and your Ignition IdP is pointing to a User Source Profile which no longer exists. Try changing the user source profile in the Ignition IdP settings in the Gateway config page and then try logging in again

Thanks a bunch. You put me on the right track and I was able to resolve it. At some point the the User Source for the for my Identity Provider got wiped. All seems to be good now.

2 Likes