Skip to content

Instantly share code, notes, and snippets.

Avatar
🇺🇦

vlad doster vladdoster

🇺🇦
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am vladdoster on github.
  • I am vlad_doster (https://keybase.io/vlad_doster) on keybase.
  • I have a public key ASAEZn_gj9XNTA40ByqQlnWdce9R0esFdnO_i9164KoL9Ao

To claim this, I am signing this object:

View start_pulse.sh
#!/bin/bash
echo "Exporting LD_LIBRARY_PATH"
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/extra/usr/lib/x86_64-linux-gnu/
echo "Starting Pulse VPN"
/usr/local/pulse/./pulseUi &
View flask-auth
## Flask auth options for ADAPTS
2 factor authorization should be implemented alongside any main signin method.
Something like [this](https://blog.miguelgrinberg.com/post/two-factor-authentication-with-flask)
### Oauth2 (SSO)
Reuires a few things.
- A trusted Oauth2 server
- This could be a hassle and vector of attack
- If we wanted to roll our own this is a [good starting point](https://github.com/authlib/example-oauth2-server)