I have an ADFS server (3.0) running and an api with requests that gets authenticated with bearer tokens supplied by the ADFS server. As part of the request to authorise with ADFS I have to specify a redirect uri:
this is fine for a production environment, but for dev and test environments I don't want to authenticate via adfs (if I dont have to)
Is there a way I can achieve this? I don't want to create multiple adfs clients for each environment just to have separate redirect uris. And for other developers locally who may have the website set up in different locations where I may be using https://localhost/my-app but another developer is using https://localhost/workspace2/my-app etc.
Is there a clean way I can ignore having to go to ADFS for bearer token in dev and test environment, or have separate redirect uris without multiple adfs clients?
Thanks