I have an that runs on 1000+ of distributed servers using Azure AD for authentication. Each server is its own application instance with its own database, so they need to remain as separate websites. I need sample code.
The current Uris are:
https://myapp.server1.contoso.com/
https://myapp.server2.contoso.com/
https://myapp.server3.contoso.com/
etc.
how do I avoid the max redirect URI limit of 256?
Microsoft says to use a state parameter but this does not appear to work across subdomains. https://learn.microsoft.com/en-us/azure/active-directory/develop/reply-url