How can you change the Microsoft Auth redirect URI?

What I’m trying to do: I have anvil running behind a reverse proxy. I am attempting to use the anvil microsoft auth library. I need the redirect URI to redirect to the proxy address instead of the origin of the app.

What I’ve tried and what’s not working: Currently I have tried swapping the origin (but I can’t use the reverse proxy address, so swapping it doesn’t do much). The origin I use is the redirect URI that gets used.

I need a way to change the the redirect so it can be set to the reverse proxy.

2 Likes