pyro2927 / AWS_SSO_Containers

Firefox extension to route AWS SSO logins into unique containers.
https://addons.mozilla.org/en-US/firefox/addon/aws-sso-containers/
55 stars 16 forks source link

feat: Support SSO shortcut links #24

Closed blakemotl-RL closed 1 month ago

blakemotl-RL commented 2 months ago

Regarding #21 took my first attempt at supporting it. I don't love my implementation but the URL constructor did not extract the searchParams from the origin url(maybe because one of the params is a url with search params itself?). Anyway this seems to work and does not break backwards compatibility for when a destination parameter is not present. Open to other ideas on how to fix this since I think this is more of a bandaid then fixing the core of the problem, which seems to be cookie related.