**Status Code:** 403 Forbidden

Running multiple services with docker compose on various backend URL using nginx.
Here is the configuration for keycloak

location /auth {
proxy_pass http://keycloak-container:8080;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Port $server_port;
Attached the image:

Getting the following response:

Request URL: https://qa.XXX.com/auth/realms/master/protocol/openid-connect/login-status-iframe.html/init?client_id=account-console&origin=https%3A%2F%2Fqa.XXX.com
Request Method: GET
Status Code: 403 Forbidden
Remote Address:
Referrer Policy: no-referrer

when hitting the endpoint on browser. Getting the above response

Adding web origin as * in account console client of master realm will resolve this issue


Thanks for mentioning master realm! !

thank you, you are a life saver