st.logout() and error

The st.logout() was working fine. For the past couple of days, the following error is showing up.
invalid_request : The “post_logout_redirect_uri” querystring parameter “http://localhost:8501/” is not defined as a valid URL in “Allowed Logout URLs”. To add a new URL, please do it here: https://manage.auth0.com/#/account/advanced

1.Local deployment on Mac
2. Auth0 configured correctly - Login works. Logout is having this issue. “Allowed Logout URLs” has the http://localhost:8501/
3. Streamlit 1.48, Python 3.11
4. If I add client_id explicitly to the Url, the behavior changes to Autho0 asking with a window that if I want to logout of Auth0. Which is a better option than an error. Has this happened becuase of the new update to st-logout() in 1.48?

https://dev-xxxxxxx.auth0.com/oidc/logout?post_logout_redirect_uri=http%3A%2F%2Flocalhost%3A8501%2F

to

https://dev-xxxxxxx.auth0.com/oidc/logout?post_logout_redirect_uri=http%3A%2F%2Flocalhost%3A8501%2F&client_id=xxxxxxxxxxx

Thanks,
Tej

There are a couple of Github issues raised relating to this. You can have a look here to see the comments and the other related issues.