Description: Invalid value for 'client_id' parameter

Hello, I’m new to okta and trying to get up and running. I’ve got a test rails app I’m migrating from devise to okta authentication and am almost there but I get
‘Description: Invalid value for ‘client_id’ parameter.’ when I’m redirected to where I should login.

The following is the full url, and the client_id param was retrieved from the application I created here: https://dev-224324-admin.okta.com

https://wayne-enterprises.okta.com/oauth2/default/v1/authorize?client_id=0oa1p6ifhhtoVP8xC357&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fuser%2Fauth%2Foktaoauth%2Fcallback&response_type=code&scope=openid+profile+email&state=a5988d30f48aa565ea7dec6eb1159110579c5c5414225e8e

Are you sure the client ID matches when you configured in your OIDC app? If so, I’d recommend sending an email to developers@okta.com so they can look at your org and see what’s happening.

1 Like

I’m about as sure as I can be, in console
ENV['OKTA_CLIENT_ID'] == <id pasted from clipboard> returns true

I’ve reached out to the email you provided, appreciate it!

Same error here. The client_id also is not a part of the API documentation for logout: https://developer.okta.com/docs/reference/api/oidc/#logout

I was already able to make it work. I should view the logout link in the browser. Sorry.

How did you get it to work? I am getting the same error and noticed the same thing you did about the client_id being missing from the docs.