Can the Bluemix SSO service support multiple routes?

时间:2016-02-12 19:22:34

标签: single-sign-on ibm-cloud

we have an app running in bluemix under two different routes: myapp.shortname.com myapp.reallyreallyreallyreallylongname.com

but the SSO service does not work with myapp.shortname.com giving an error:

CWOAU0062E: The OAuth service provider could not redirect the request because the redirect URI was not valid. Contact your system administrator to resolve the problem.

is it possible to support two routes or do we now have to run two NodeJS apps?

2 个答案:

答案 0 :(得分:0)

You can register multiple redirect_uri for your client applications. For example: "redirect_uris":[ "https://longNameHost:8999/resource/redirect1", "https://shortnamehost:9000/resource/redirect2" ]

答案 1 :(得分:0)

根据Bluemix SSO开发人员的说法,此时不会公开多个redirect_uri功能。

相关问题