-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
OpenVPN Service NOT start #210
Comments
Are you using systemd? If yes, then remove |
Thanks for the quick solution. After the adjustment, the service went up normally, but my client is in a loop and does not connect. Does not open any web interface for login with oAUTH2.0. config.ovpn
Log Client
|
it sounds like to didnt start openvpn-auth-oauth2? |
The service is not starting, how can I debug it and where are the logs stored? My settings are the same as in previous comments, do I need to make any other adjustments?
|
Logs are stored in journald, if systemd is used.
|
Without any additional modifications, openvpn-auth-oauth2 runs with different user permissions compared to OpenVPN. By default, only files inside
I expect, that openvpn-auth-oauth2 failes to start, because its unable to read the crt/key files from See also: https://github.com/jkroepke/openvpn-auth-oauth2/wiki/Configuration#filesystem-permissions |
I reconfigured the openvpn-auth-oauth2 file with the settings below, but the service is still not going up, follow the newspaperctl below as well. openvpn-auth-oauth2
What would be the correct URL base?
or
journalctl
|
There is no debug log format. there is only a debug level: Wrong:
Right
Please read your own logs. |
The error below regarding OpenVPN version is being returned, but my version is the latest available for Alma Linux 9 2.5.9. Any alternative to fix this? LOG openvpn-auth-oauth2
OS-RELEASE
|
You could try to use RPMs from Fedora (https://rpmfind.net/linux/rpm2html/search.php?query=openvpn) or using Debian. Sorry, but if you are using enterprise based distributions, its up to your problem to bring new software on it. You can consider to run OpenVPN inside a docker container. openvpn-auth-oauth2 requires at 2.6.0 at minimum. I can't change it. |
After days of trying to adjust, I managed to get the redirection to be carried out correctly in the browser, but I am receiving the "Access denied" message after logging in with my azure account. My user already has permissions within the application as an administrator, but the error is still returned, what can I validate? Is there a need for another user base besides Azure? |
Check server logs |
I managed to configure Azure correctly, now I'm configuring another SSO, but the message below is being returned in the logs.
I am using:
|
It seems like that the other SSO provider does not return the state provider back. What you are using? |
Hi, @jkroepke . Return URL
Error
Note: The code is the access token to obtain user data in my application. |
it seem like openvpn-auth-oauth2[ is trying to call the token endpoint, but a html based error message will be returned. |
Problem Statement
Hello, I'm trying to configure OAUTH2 for use in conjunction with AZURE SSO, the service is not starting, it just dies, could you help me?
Below are my settings:
server.conf
openvpn-auth-oauth2
openvpn.log
Environment
The text was updated successfully, but these errors were encountered: