I have an application which we have recently implemented the use of SAML for authentication. For most of our customers, all their users access the application from the same country. This is simple as there is one URL.
However, some of our customers who are global use different URLs, based on their location, to access the same application. e.g.
UK users use customer1.ourcompany.co.uk
US users use customer1.ourcompany.com
These URLs both go to the same instance of the application on the same IIS server.
These uses may all authenticate using the same ADFS server, but need to be redirected back to .co.uk or .com, depending on which original URL the user came from.
Is this possible? If so, what would be be the best method to implement this?
Other info: Windows based environment. Always SP initiated
Manager was also thinking about using another gTLD (i.e. outcompany.app) for some customers. This would be another URL that needs to be redirected, as above.