Hi,
I have created 2 auth0 app within a domain. Docker is using one and have created another one to be used with kubernetes but for some reason instance running on kubernetes still refers to client id of docker running instance.
I don’t understand the reason for using different app when right app details are specified in env variables for kubernetes and are reflecting correctly at backend but on browser it still refers to old client id. Please assist finding the issue on this
{
“body”: {},
“qs”: {
“audience”: “https://mvp-stg-tenant.us.auth0.com/api/v2/”,
“scope”: “openid profile email read:current_user”,
“client_id”: “kqYrTflM2n2582yxG8cVTMykWpW4fB0a”,
“redirect_uri”: “https://stg.intra-airmatrix.ca”,
“response_type”: “code”,
“response_mode”: “query”,
“state”: “MjFKYWRmVldfbTF+QlRodXRLT29MaFRhbXdlYkxTY25pYnFucnFvRHlsbA==”,
“nonce”: “X1NfOTZaUC45UU0wV3hqOHVSUDJXfktTSHNwWGZ+VnVTaGdhVDI2R0ktcQ==”,
“code_challenge”: “VnYzN7K3PQhZq5IN_paWZYT9Yp-sHhP8qZyjmfO4c0E”,
“code_challenge_method”: “S256”,
“auth0Client”: “eyJuYW1lIjoiYXV0aDAtcmVhY3QiLCJ2ZXJzaW9uIjoiMS45LjAifQ==”
},
“error”: {
“message”: “Callback URL mismatch. https://stg.intra-airmatrix.ca is not in the list of allowed callback URLs”,
“oauthError”: “Callback URL mismatch. https://stg.intra-airmatrix.ca is not in the list of allowed callback URLs. Please go to ‘https://manage.auth0.com/#/applications/kqYrTflM2n2582yxG8cVTMykWpW4fB0a/settings’ and make sure you are sending the same callback url from your application.”,
“payload”: {
“message”: “Callback URL mismatch. https://stg.intra-airmatrix.ca is not in the list of allowed callback URLs”,
“code”: “unauthorized_client”,
“status”: 403,
“name”: “CallbackMismatchError”,
“authorized”: [
“https://gcs-dev.intra-airmatrix.ca/dashboard”,
“https://gcs-dev.intra-airmatrix.ca/”,
“https://dev-unnb-3ir.us.webtask.run/auth0-authentication-api-debugger”,
“https://gcs-dev.intra-airmatrix.ca/register”
],
“attempt”: “https://stg.intra-airmatrix.ca”,
“client”: {
“clientID”: “kqYrTflM2n2582yxG8cVTMykWpW4fB0a”
},
“log_url”: “https://manage.auth0.com/#/logs/”
},
“type”: “callback-url-mismatch”
},
“session_id”: “uoM663QHlc6P34gWPER8aY-vJ_bLQZ_-”
}
It refers to wrong app . I created mvp-stg-kube but for some reason all new request goes to mvp-stg-app
Thanks
Devendra