Skip to content

Add "no-browser" flag to prevent automatically opening the browser#121

Merged
mbilski merged 3 commits intoSecureAuthCorp:masterfrom
dalbani:no-browser-flag
Jan 28, 2025
Merged

Add "no-browser" flag to prevent automatically opening the browser#121
mbilski merged 3 commits intoSecureAuthCorp:masterfrom
dalbani:no-browser-flag

Conversation

@dalbani
Copy link
Contributor

@dalbani dalbani commented Jan 21, 2025

Fixes #114.

In a headless environment, trying to open a browser will always fail, showing a message in red like:

  ERROR   exec: "xdg-open,x-www-browser,www-browser,wslview": executable file not found in $PATH

This PR makes it possible to call oauth2c with a flag to prevent that behaviour.

@mbilski mbilski merged commit 999a580 into SecureAuthCorp:master Jan 28, 2025
3 checks passed
@dalbani dalbani deleted the no-browser-flag branch February 4, 2025 10:46
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

Successfully merging this pull request may close these issues.

Option to not attempt to open a browser automatically

2 participants