-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto-normalize sso start url #68
Comments
I don't think that's feasible. The trailing In general, since the normalization of start URLs is not documented, I am reluctant to apply any normalization to it. Maybe |
Interesting. If I do: However, if I proceed to run This leads me to believe that while aws-sso-util doesn't care, the aws cli requires an exact match on the This all comes into effect only when there's more than one SSO url at play and aws-sso-util requires some kind of hint as to what sso url to work with. |
Aha! So what's happening here is that the cache files in Separately, if you only have one value for start URL in your |
nice, thanks for looking into it! Yep, all of this started when I started working with multiple customers using aws sso. It all works perfectly when there's only a single sso org in the config. I'll try the wildcard matcher! |
when pasting an sso start url into bash/zsh, it gets formatted to
https://myorg.awsapps.com/start/\#/
It seems that the trailing#/
is important, and using a url without it causes the sso session to not be valid.I propose that aws-sso-util should auto-normalize urls (basically auto-replace
/start/\#/
with/start/#/
) to make it easier.The text was updated successfully, but these errors were encountered: