Redirect fails on some enviroments

Created on 16 October 2024, about 1 month ago

I have 3 differents environments: dev,pre (staging) and www (real).
The login with OpenID Connect works as expected.
However when login ends the user goes to the current page in dev and pre but no in www.
In www it was redirected to home page.
This is the access log of the dev and www:

WWW:

MY_IP - - [16/Oct/2024:06:54:09 +0200] "POST /node/1767 HTTP/1.1" 302 20 "https://www.food4rhino.com/en/app/visualarq?lang=en" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0"
MY_IP - - [16/Oct/2024:06:54:15 +0200] "GET /openid-connect/generic?code=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjIjoiQUVTXzI1Nl9DQkMiLCJwIjoiUEtDUyM3IiwiYjY0aXYiOiI1cmtQTFMxcTVYVk9KRXFhMU4wVjV3PT0iLCJiNjRjdCI6Ii81ODJGM2FTeldSdzF2UFFBNWtHRDZneklQdVBhQVFhdkhaZkZVS0d6dkpzTW9zdHpTcVdtK05lY3dpS2ZGZ09rZGJGaVlielNscWZwcUZScXFxTDhKN2VwbmlIMXFiWVNCWHFNZXovRW5VODNkWHhiSW8xMm03QUc0WDZnU1MyUXAzMFdyb3ZmMHUxQjVDUlVEWFpqYVFNbXVzcFc3RFlPQlNDZ0hLQmJ0dTZKMVdkb3ZnWVVZQ2Z6RzlvVk5mUCtBSTRueCszQWo5L3BHaG4wSHBVRmc9PSIsImlhdCI6MTcyOTA1NDQ1NX0.WJ5KAci-E0VxHn0oV1KeLjWdTn_34c7SUpRKpGVSGUE&state=HxMGtas6cb7nZlUug-x8pdJgrL6nzNWXq4_QJhN8deg HTTP/1.1" 301 20 "https://accounts.rhino3d.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0"
MY_IP - - [16/Oct/2024:06:54:15 +0200] "GET /en/openid-connect/generic?code=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjIjoiQUVTXzI1Nl9DQkMiLCJwIjoiUEtDUyM3IiwiYjY0aXYiOiI1cmtQTFMxcTVYVk9KRXFhMU4wVjV3PT0iLCJiNjRjdCI6Ii81ODJGM2FTeldSdzF2UFFBNWtHRDZneklQdVBhQVFhdkhaZkZVS0d6dkpzTW9zdHpTcVdtK05lY3dpS2ZGZ09rZGJGaVlielNscWZwcUZScXFxTDhKN2VwbmlIMXFiWVNCWHFNZXovRW5VODNkWHhiSW8xMm03QUc0WDZnU1MyUXAzMFdyb3ZmMHUxQjVDUlVEWFpqYVFNbXVzcFc3RFlPQlNDZ0hLQmJ0dTZKMVdkb3ZnWVVZQ2Z6RzlvVk5mUCtBSTRueCszQWo5L3BHaG4wSHBVRmc9PSIsImlhdCI6MTcyOTA1NDQ1NX0.WJ5KAci-E0VxHn0oV1KeLjWdTn_34c7SUpRKpGVSGUE&state=HxMGtas6cb7nZlUug-x8pdJgrL6nzNWXq4_QJhN8deg HTTP/1.1" 302 20 "https://accounts.rhino3d.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0"
MY_IP - - [16/Oct/2024:06:54:17 +0200] "GET /en HTTP/1.1" 200 20035 "https://accounts.rhino3d.com/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:131.0) Gecko/20100101 Firefox/131.0"

DEV:

MY_IP - - [16/Oct/2024:06:36:03 +0200] "POST /node/2303 HTTP/1.1" 302 -
MY_IP - - [16/Oct/2024:06:36:09 +0200] "GET /openid-connect/generic?code=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjIjoiQUVTXzI1Nl9DQkMiLCJwIjoiUEtDUyM3IiwiYjY0aXYiOiJGZ24zWEN5bk5wcmYwbXcwckZuN0RRPT0iLCJiNjRjdCI6Imx5eElLbVB5bGgyLzI2czNxeTlsVTBDMVV5eWg1YWp1VFlFdkMvV1h4SUtNN291cjBJTUtYQ0R3aHFLUWduSXREYXhHbUhnK0xhTHM0VlUzeUxBSWRhYkIvbEcvbFB2ZmlGMFc2ZVZFUzBYdHkwTkFSOGtBL2VvTE5uRXltNy85TXd1M1dvQkxhR01Xc2x2WkNYbWxUUE9JUHNRK0hSZm1LT0Q2ZW9rUjdXc0p4VE4vMys3VXVSb2cyQWs4MXlKUUpIUW8rN3FLNzJuK3dZd0JQb0pLSlE9PSIsImlhdCI6MTcyOTA1MzM2OH0.wuWEHDvvswbtRcm56DvKDJU8-BUYm7Q-EJD_MEyXNuI&state=7yd6p36UAGqw3HuU1K_Mc3H_Xnugju3uZvIHgg04rIA HTTP/1.1" 301 -
MY_IP - - [16/Oct/2024:06:36:09 +0200] "GET /en/openid-connect/generic?code=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjIjoiQUVTXzI1Nl9DQkMiLCJwIjoiUEtDUyM3IiwiYjY0aXYiOiJGZ24zWEN5bk5wcmYwbXcwckZuN0RRPT0iLCJiNjRjdCI6Imx5eElLbVB5bGgyLzI2czNxeTlsVTBDMVV5eWg1YWp1VFlFdkMvV1h4SUtNN291cjBJTUtYQ0R3aHFLUWduSXREYXhHbUhnK0xhTHM0VlUzeUxBSWRhYkIvbEcvbFB2ZmlGMFc2ZVZFUzBYdHkwTkFSOGtBL2VvTE5uRXltNy85TXd1M1dvQkxhR01Xc2x2WkNYbWxUUE9JUHNRK0hSZm1LT0Q2ZW9rUjdXc0p4VE4vMys3VXVSb2cyQWs4MXlKUUpIUW8rN3FLNzJuK3dZd0JQb0pLSlE9PSIsImlhdCI6MTcyOTA1MzM2OH0.wuWEHDvvswbtRcm56DvKDJU8-BUYm7Q-EJD_MEyXNuI&state=7yd6p36UAGqw3HuU1K_Mc3H_Xnugju3uZvIHgg04rIA HTTP/1.1" 302 -
MY_IP - - [16/Oct/2024:06:36:11 +0200] "GET /en/app/f4r-535-test-6 HTTP/1.1" 200 67395

As you can see in dev, user goes back to the same page, but in www it was redirected to home page.

Any idea?

Regards,
Jordi
JOINSO

🐛 Bug report
Status

Active

Component

Miscellaneous

Created by

🇪🇸Spain JOINSO Sabadell

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024