I am using the Windows Azure ACS for building Single sign on application. I am using javascript/HTML to collect information from the user. The problem I am facing is that I need to host my application on different hosts, for example:
- localhost
- localhost:81
- *.cloudapp.net
- another internal host like http://helloacs/
I tried creating multiple Relying Applications for each of those hosts, but it worked only for localhost/localhost:81. My *.cloudapp.net relying party app is configured that way:
Name: *.cloudapp.net
Realm: *.cloudapp.net
Return URL: http://*.cloudapp.net/
My login page is building replyto url like this:
http://*.cloudapp.net/Login.aspx
This is my generated call to IdentityProviders.js:
https://*.accesscontrol.windows.net/v2/metadata/IdentityProviders.js?protocol=wsfederation&realm=*.cloudapp.net&reply_to=http://*.cloudapp.net/Login.aspx&version=1.0&callback=ShowSigninPage
After I navigate to the identity provider and login I get:
ACS30000: There was an error processing an OpenID sign-in response.
How can I get my application to work on multiple hosts if this is not the solution?