-
-
Notifications
You must be signed in to change notification settings - Fork 707
[client] Add FreeBSD desktop client support to OAuth flow #3822
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds FreeBSD desktop client support to the OAuth flow by introducing a new boolean parameter and relevant checks across several client components.
- New parameter and environment check for FreeBSD desktop clients in OAuth flow initialization
- Updates to proto definitions and client-side logic for iOS, Android, and command-line login support
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
File | Description |
---|---|
client/server/server.go | Updated OAuth flow initialization to include FreeBSD desktop client support |
client/proto/daemon.proto | Added isFreeBSDDesktopClient field to the LoginRequest message |
client/ios/NetBirdSDK/client.go | Adjusted OAuth flow call to include FreeBSD desktop support parameter |
client/internal/auth/oauth.go | Modified NewOAuthFlow to handle FreeBSD environment checking |
client/cmd/login.go | Added function isFreeBSDRunningDesktop and updated login commands to support FreeBSD |
client/android/login.go | Included FreeBSD parameter in OAuth flow initialization for consistency |
I am curious if the additional parameter for FreeBSD desktop is really needed. |
@avg-I what about Wayland? Haven't used it before. So I'm not sure if it's being used widely. |
@hakansa I think that there should not be any difference between Linux and FreeBSD either. |
@avg-I well let's use the same parameter for now, we might need to seperate them for other OS'es in future, no need for now. |
…SD desktop environments
|
Describe your changes
[client] Add FreeBSD desktop client support to OAuth flow
Issue ticket number and link
Stack
Checklist