Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. VPN
  3. HELP - OpenVPN 2.5.9

HELP - OpenVPN 2.5.9

Scheduled Pinned Locked Moved Solved VPN
5 Posts 2 Posters 135 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    L
    lilian
    wrote last edited by
    #1

    Hello everyone,
    I am experiencing an authentication issue with OpenVPN 2.5.9.
    Has the SSO been modified?
    Thank you in advance.

    code: 'OAUTH_AUTHORIZATION_RESPONSE_ERROR',
    Sep 28 11:43:14 error: 'invalid_scope',
    Sep 28 11:43:14 error_description: 'scope contains invalid characters'
    Sep 28 11:43:14 }
    Sep 28 11:43:14 GET /?error=auth_failed 200 0.972 ms - 818
    
    J 1 Reply Last reply
    0
    • J joseph moved this topic from Support
    • L lilian

      Hello everyone,
      I am experiencing an authentication issue with OpenVPN 2.5.9.
      Has the SSO been modified?
      Thank you in advance.

      code: 'OAUTH_AUTHORIZATION_RESPONSE_ERROR',
      Sep 28 11:43:14 error: 'invalid_scope',
      Sep 28 11:43:14 error_description: 'scope contains invalid characters'
      Sep 28 11:43:14 }
      Sep 28 11:43:14 GET /?error=auth_failed 200 0.972 ms - 818
      
      J
      J
      joseph
      Staff
      wrote last edited by
      #2

      @lilian said:

      Sep 28 11:43:14 GET /?error=auth_failed 200 0.972 ms - 818

      I think this was fixed. Which version of Cloudron are you on and which version of the VPN package?

      1 Reply Last reply
      1
      • L
        L
        lilian
        wrote last edited by
        #3

        Upon analysis, the issue stemmed from the Tegel 1.3.0 library used by the OpenVPN application: it was adding a space at the end of the OIDC scope:

        scope=openid profile email[espace]
        

        I created a patched Docker image for the OpenVPN 2.13.0 application by modifying the scope generation to use .trim(), thereby removing that space.
        After redeploying the application with this image, the scope is generated correctly:

        scope=openid profile email
        

        OIDC authentication and access to the OpenVPN interface are working again, without modifying existing VPN configurations.

        1 Reply Last reply
        1
        • J
          J
          joseph
          Staff
          wrote last edited by
          #4

          @lilian yes, this is exactly what was already fixed. Can you check your Cloudron version and VPN package version?

          1 Reply Last reply
          1
          • L
            L
            lilian
            wrote last edited by
            #5

            Hello,
            Cloudron version 10.0.5
            OpenVPN 2.13.0
            I stuck with this version because updating to the next one really messed up my VPN connections.

            1 Reply Last reply
            0
            • L lilian has marked this topic as solved

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search