pyro2927/AWS_SSO_Containers

Add support for China AWS links

Opened this issue · 5 comments

Currently the containerization doesn't work console.amazonaws.cn. Would be nice to have this added

@anebz do you happen to know what the starting page for the SSO portal is? The manifest looks for .cn links, but if it uses something like subdomain.awsapps.cn/start I can just add that

@pyro2927 it's this ´start.cn-north-1.home.awsapps.cn´ in my case

The SSO portal URL in a new account I am working on is not in the start.awsapps format, it is: start.home.awsapps.cn/directory/(id-or-instance-name). Additionally the console is cn-northwest-1.signin.amazonaws.cn.

@anebz or @xelencin, would you be able to test an .xpi I could send over with additional URLs added? I don't have access to a CN SSO portal to test.

@pyro2927 Sure. Adding some more URL details for context. Our global account SSO is based out of us-west-2 and CN account SSO in cn-north-1. This should also apply for cn-northwest-1.

Global:
https://COMPANY.awsapps.com/start
https://COMPANY.awsapps.com/start/#/console?account_id=############&role_name=ROLENAME
https://portal.sso.us-west-2.amazonaws.com/federation/console?account_id=############&role_name=ROLENAME
https://console.aws.amazon.com/console/home
https://us-west-2.console.aws.amazon.com/console/home?region=us-west-2#

CN:
https://start.cn-north-1.home.awsapps.cn/directory/COMPANY
https://start.cn-north-1.home.awsapps.cn/directory/COMPANY#/console?account_id=############&role_name=ROLENAME
https://console.amazonaws.cn/console/home?region=cn-north-1