Skip to content
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

[Feature request] Use a specific browser profile for authentication #634

Open
khuongduybui opened this issue Apr 15, 2024 · 5 comments
Open

Comments

@khuongduybui
Copy link

khuongduybui commented Apr 15, 2024

Similar to how a browser profile can be specified when launching a console, I would also like to specify a browser profile to open the authentication links.

The main use case is I have a work browser profile where I log in to our company's SSO every morning. The SSO is linked to many things, including AWS SSO. If the authentication links open in this profile, I simply need to "accept", but it always open in the default browser profile, which is my personal profile, and I don't want to SSO into the work account from my personal profile because it messes up Google, Microsoft, and GitHub login sessions.

@chrnorm
Copy link
Contributor

chrnorm commented Apr 17, 2024

Hey @khuongduybui! You should be able to use the following command to achieve this:

granted browser set-sso

I'll close this issue but please reopen it if it doesn't work for you :)

@chrnorm chrnorm closed this as completed Apr 17, 2024
@khuongduybui
Copy link
Author

The problen with

granted browser set-sso

is it doesn't let me select a specific profile.

It doesn't let me enter a custom command either (with which I can inject the profile argument).

@chrnorm chrnorm reopened this Apr 17, 2024
@chrnorm
Copy link
Contributor

chrnorm commented Apr 17, 2024

My apologies - I misread your initial question here as being related to selecting a browser rather than a browser profile. I’ve reopened the issue, this is something we should support for sure.

@jaklan
Copy link

jaklan commented Apr 22, 2024

+1 for that, I have exactly the same issue.

@chrnorm we talk about granted browser set-sso, but even for granted browser set - is it possible to set the default browser profile instead of specifying it each time when running assume?

assume profile-name -c --browser-profile "<your_browser_profile>"

@DoctorPolski
Copy link

I had this issue and solved it by using the profile settings in Edge itself to open/use a specific profile when it was given a specific URL.

But I agree, something more programmatic at the assume level is required to support browsers that may not have that feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants