Hi guys! I have been trying to get a custom UI wor...
# ory-network
m
Hi guys! I have been trying to get a custom UI working. Last week it was working OK with my localhost and the tunnel but recently I am getting an error that I rarely had before and was resolved restarting the computer. I am working with the React example for custom UI with ory elements. The error is that it is sending two
Access-Control-Allow-Origin
and that is making the request to fail. Any idea how to solve it? Is it a known issue? Apart from that, If I run the custom UI project with Next example I can login with Google but I do not receive the "consent screen", just getting the openid and email. Is there a way to modify that? I can modify every screen but that one is not in the UI URLs to modify. How can I get that working? If I do the login flow with Google with the UI provided by Ory I get that consent screen.
h
Please provide as much detail as possible - it’s very hard to judge anything from a single screenshot, especially when it happens locally! 🙂 The best option is to have reproducible steps
m
Ok.. What I have done recently to check if the problem was my repo is to download the react example and run the tunnel with my ory project and it is reloading the page constantly with the error I mentioned, can you check?
h
Please follow this guide ( https://www.ory.sh/docs/getting-started/integrate-auth/react ) to ensure everything is set up correctly
m
Thanks.. I followed that. My repo was working OK and suddenly started to fail... same with that example. I tested it on mac (Safari and brave) and windows (Edge and Chrome). Have you tested that example recently and is working for you?
h
We’re looking into it
m
Thanks for you time and response! Please let me know if you have any update
h
can’t reproduce unfortunately, here it works if I follow the guide. I did find some smaller issues though when upgrading the SDK, which I have fixed in this PR: https://github.com/ory/docs/pull/1532