Noovolari / leapp

Leapp is the DevTool to access your cloud
https://www.leapp.cloud/
Mozilla Public License 2.0
1.6k stars 146 forks source link

Enable "log out" before "Open Web Console" action #309

Closed Gowiem closed 7 months ago

Gowiem commented 2 years ago

Is your feature request related to a problem? Please describe. When I use "Open Web Console" with an SSO integration or SAML or a chained role and I'm already logged into the console with another federated user in some fashion, then I get something like the following:

CleanShot 2022-07-27 at 11 49 24

*Describe the solution you'd like I'd like to see Leapp log me out of any existing console session before trying to open a new one.

Describe alternatives you've considered

Additional context

When using aws-vault, I did this with aliases here: https://github.com/Gowiem/DotFiles/blob/master/aws/aliases.zsh#L10-L13

pethron commented 2 years ago

Thanks for the idea, Matt! This could be a nice workaround until we publish the multi-console extension.

perpil commented 2 years ago

Since it appears Leapp is using the federate api to login to the console, it could be modified to call logout and federate at the same time.

andreacavagna01 commented 9 months ago

Hi @perpil I think this could be a great addiction to the federated Web Console. thanks for the suggestion

adamantike commented 8 months ago

I've implemented this in #520! @perpil's reference to ServerFault was extremely useful :)

andreacavagna01 commented 8 months ago

I'll check it out next week!