Skip to content

[Feature Request] Option to launch interactive auth on a different browser #750

Discussion options

You must be logged in to vote

I think I got it! The path is a little convoluted, but I was able to launch it with Chrome now!

# default browser on Mac = Brave

os.environ['BROWSER'] = "/Applications/Google\\ Chrome.app %s"  # Opens Brave
os.environ['BROWSER'] = 'open -a /Applications/Google\\ Chrome.app %s' # Opens Chrome [UPDATED 2024-09-23]


app = msal.PublicClientApplication(CLIENT_ID, authority=AUTHORITY)

Thank you very much for your help, @rayluo! I will close this ticket.

Replies: 6 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by rayluo
Comment options

You must be logged in to vote
4 replies
@rayluo
Comment options

@choonchernlim
Comment options

@choonchernlim
Comment options

@rayluo
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #749 on September 21, 2024 02:16.