Open flemzord opened 2 years ago
Hello! Just to clarify, SSO is unfortunately not supported at the moment.
To anyone reading this: if you are interested in SSO support feel free to add a 👍 on this issue (we can track interest that way).
Just FYI to anyone else that lands here, you can use SSO if you also use aws-vault:
aws-vault exec -- 7777
Is this on the roadmap at all? We're transitioning all of our staff away from traditional credentials in favour of SSO. We'd love to still be able to use this application with SSO support
To be honest, I would love to have this as well. I've been using https://github.com/ryansonshine/aws-sso-creds-helper and run that command before running 7777/doing anything with the SSO profile. That's not ideal but it works.
I looked at this last week, but I haven't figured out how to address that. We are using the AWS SDK v2, and it is marked compatible with SSO. But I suspect we might need a prompt or similar, I just haven't found the docs that explain this. If one of you have done this before, any link would be welcome.
@mnapoli I did a bit of digging and the only official programatic SSO initiation documentation I was able to find was for .NET, but it might be helpful:
https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/sso.html
I also found this StackOverflow answer for performing an SSO flow using the Python (boto) SDK:
https://stackoverflow.com/a/71850591
Perhaps between these two code samples you'll be able to figure out how to do it with JS.
From a very high level, I think the flow would look like:
sso_*
variables are defined in the profile configsso_start_url
to determine where to initiate the SSO flow
Hello,
I have the same error as issue #15 & #21 . It's possible to add support for SSO login ?
Regards, Maxence