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

SAML support? #186

Open
DimitriPapadopoulos opened this issue Dec 19, 2022 · 4 comments
Open

SAML support? #186

DimitriPapadopoulos opened this issue Dec 19, 2022 · 4 comments

Comments

@DimitriPapadopoulos
Copy link
Contributor

In addition to / instead of supporting to the --cookie option (#173), wouldn't it make sense to add support for SAML (as discussed in adrienverge/openfortivpn#867, adrienverge/openfortivpn#1034, adrienverge/openfortivpn#1042), starting a browser with Qt to get the VPN session cookie?

@boospy
Copy link
Collaborator

boospy commented Dec 19, 2023

SAML is old school. Keycloak would be the new one.

https://www.keycloak.org/

https://www.univention.de/produkte/app-katalog/keycloak/

@DimitriPapadopoulos
Copy link
Contributor Author

@Boopsy Does the FortiGate support Keycloack differently from SAML?

I don't know what Keycloack means on the client side, can you enlighten me?

@ssorgatem
Copy link

My company is now changing to SAML sso so support for SAML would hbe greatly appreaciated

@filippor
Copy link

For external browser I implemented a script to retrieve token on repository https://github.com/filippor/XdgOpenSaml
the process is
1 start a server to listen on localhost:8020/?id=
2 open in external browser url + "/remote/saml/start?redirect=1"
3 server receive a call and with retieved id call url + "/remote/saml/auth_id?id=" + id to retrieve cookie

you can see a sample implementation in this repo https://github.com/filippor/XdgOpenSaml/blob/main/XdgOpenSaml.java that write the cookie to standard out like openfortivpn-webview

XdgOpenSaml url:port | sudo openfortivpn url:port --cookie-on-stdin --pppd-use-peerdns=

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