Ready to post? First, try searching for your answer.
Hi,
I’d like to use Auth0 for CockroachDB as SSO. But in testing the SSO from CockroachDB settings panel, I keep getting invalid token
, HTTP error 400.
In greater details:
In Auth0 I’ve created Regular Web Application, called it CockroachDB, filled Allowed callback URL with https://auth.cockroachlabs.cloud/login/callback, https://cockroachlabs.cloud/sso
and Application Login URI with https://auth.cockroachlabs.cloud/login
.
In CockroachDB I’ve entered in the configuration:
Issuer URL: https://xxxx.eu.auth0.com/.well-known/openid-configuration
. Client ID and Client Secret.
On Test Connection it keeps failing with HTTP error code 400 with a message invalid token
. So the SSO Test Connection stays Unverified
The flow is:
https://xxxxx.eu.auth0.com/u/login?state=… HTTP 302
https://xxxxx.eu.auth0.com/authorize/resume?state=… HTTP 302
https://auth.cockroachlabs.cloud/login/callback?code=… HTTP 302
https://auth.cockroachlabs.cloud/authorize/resume?state=… HTTP 302
https://cockroachlabs.cloud/sso/test?code=… HTTP 400
Am I missing something in the settings of Auth0 since there is nothing more to setup in CockroachDB.