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: Add Support for Custom auth-token validation #188

Closed

Conversation

ihipop
Copy link

@ihipop ihipop commented Feb 20, 2024

What this PR does / why we need it

Add Support for Custom auth-token validation

  • If openvpn.auth-token-user is enabled, the server will push the auth-token to the client, and finish quickly recover when the client is recovering from wakeup

  • re-auth is also benefited from this PR, there will be a very quick re-auth even without enabling oauth2.refresh.enabled

  • 20s delay for autorization after process restart #144 is also benefited from this PR if oauth2.refresh.enabled is disabled

Which issue this PR fixes

Special notes for your reviewer

TODO: configurable AUTH-TOKEN lifetime checker

Particularly user-facing changes

Please ensure to remove auth-gen-token from your OpenVPN server configuration to make this work

Checklist

Complete these before marking the PR as ready to review:

  • DCO signed
  • The PR title has a summary of the changes
  • The PR body has a summary to reflect any significant (and particularly user-facing) changes introduced by this PR

Signed-off-by: ihipop <ihipop@gmail.com>
Signed-off-by: ihipop <ihipop@gmail.com>
@ihipop ihipop closed this Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant