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

Fixing connection issue where vendor doesn't return "auth.message" #175

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gadikotamohan
Copy link

when the auth complete response is something like this

<?xml version="1.0" encoding="UTF-8"?>\n
<config-auth client="vpn" type="complete" aggregate-auth-version="2">\n
  <session-id><SESSION ID></session-id>\n
  <session-token><SESSION TOKEN></session-token>\n
  <capabilities>\n
    <crypto-supported>ssl-dhe</crypto-supported>\n
  </capabilities>\n
  <auth id="success">\n
    <banner>WARNING: This system is for the use of authorized clients only. Individuals using the computer network system without authorization, or in excess of their authorization, are subject to having all their activity on this computer network system monitored and recorded by system personnel. Access is restricted to authorized users only. Unauthorized access is a violation of state and federal, civil and criminal laws.</banner>\n
  </auth>\n
  <config client="vpn" type="private">\n
    <vpn-base-config>\n
      <nopkg></nopkg>\n
      <server-cert-hash><CERT SHA></server-cert-hash>\n
    </vpn-base-config>\n
    <opaque is-for="vpn-client">\n
      <custom-attr>\n
        <dynamic-split-include-domains>
          <![CDATA[example.com]]>
        </dynamic-split-include-domains>\n
      </custom-attr>\n
    </opaque>\n
    <vpn-profile-manifest>\n
      <vpn rev="1.0">\n
        <file type="profile" service-type="user">\n
          <uri>/CACHE/stc/profiles/profile.xml</uri>\n
          <hash type="sha1"><SHA STRING></hash>\n
        </file>\n
      </vpn>\n
    </vpn-profile-manifest>\n
  </config>\n
</config-auth>\n

we are getting error and openconnect-sso doesnt' work. I've made a fix to support such XML response

@gadikotamohan
Copy link
Author

image

@gadikotamohan
Copy link
Author

gadikotamohan commented May 6, 2024

@vlaci I could close this PR in favor of #161, they both seem to address same issue. ie; #57

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

Successfully merging this pull request may close these issues.

None yet

1 participant