-
-
Notifications
You must be signed in to change notification settings - Fork 44
Debugging Errors
Debugging this issue is a bit hard. At least here is a step by step guide to debug the cookie handling on the browser.
I assume, you are using a Chrome-based Browser.
-
Before connecting to OpenVPN server, open a browser locally. On the new tab page, do right-click, inspect. The browser console appears. Important: click on the Network tab and ensure that "preserve log" is enabled.

-
Ideally, you aren't logged on Azure with your main browser, otherwise you are not intercept the flow.
-
Ensure, you have access to OpenVPN server logs in real-time. Tip: If you are using
journalctl, use the option--no-pager. This prevents that large links are truncated.
- Initiate connection to OpenVPN server, close the browser opened by OpenVPN client.
- Goto OpenVPN server logs, grab the line with
INFO_PRE,WEB_AUTHand copy the link with the full state. - Paste the link on the tab where the browser console is opened.
- Continue the auth flow.
- On the access-denied screen, check the Browser Console for any errors.
- Then goto the Network tab again. There is a request with
/oauth2/startor juststart. Click on Cookies and check if the response cookie is present. Example Screenshot:
- Then goto the Network tab again. There is a request with
/oauth2/callbackor justcallback. Click on Cookies and check if the request cookie is present. Example Screenshot:
This wiki is synced with the docs folder from the code repository! To improve the wiki, create a pull request against the code repository with the suggested changes.