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 vpn qrcode login #27

Merged
merged 6 commits into from
Sep 1, 2024
Merged

Feature vpn qrcode login #27

merged 6 commits into from
Sep 1, 2024

Conversation

genshen
Copy link
Owner

@genshen genshen commented Sep 1, 2024

Add wechat QR code login support of USTB vpn (#25).
other related issues: #24, #25 #26

Note: currently, we only add QR-login support for fyne-based client (see source code in directory client-ui).

genshen added 6 commits June 9, 2024 20:52
… of requsting qr image

The content of the qr code is a url of `https://sis.ustb.edu.cn/connect/state?sid=${SID}`,
we can generate the qr code via the parsed ${SID}. Then the http request of the qr image
can be omitted.
…g value

When the radio group of vpn authentication method is added into UI, we should store selection result
to or load selection value from local file system. In this commit, we add the feature of
loading/storing the value of auth method from/to fyne.Preferences.
… based wssocks connection

In this commit, we add full implementation of qr-code vpn login. In the fyne based client, we can
click "start" button -> show qr code window -> scan code -> connect to wssocks server. In the go
code level, we add the full implementation of qr-code based vpn login (see document in
`plugins/vpn/qr-code-docs.md`). However, qr code vpn login is only implemented on fyne based client.
The cli client and swiftui client do not support qr code vpn login currently.

re #25 #24
@genshen genshen merged commit d20ec93 into master Sep 1, 2024
4 checks passed
@genshen genshen deleted the feature-vpn-qrcode-login branch September 1, 2024 11:53
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.

1 participant