Giter Site home page Giter Site logo

Comments (9)

ToeBee avatar ToeBee commented on July 29, 2024 1

Same problem after after upgrading from 2.150.1 to 2.150.2 last night.
The exchange goes like this:

  • GET / -> 403 Forbidden
  • GET /securityRealm/commenceLogin -> 302 to CAS server
  • CAS login successful, 302 back to Jenkins
  • GET /securityRealm/finishLogin?ticket=xxxxxx -> 302 back to /
  • GET / -> 403 Forbidden
  • Repeat

I don't see anything happening in the Jenkins log file while this is going on.

from jenkins-cas-plugin.

fcrespel avatar fcrespel commented on July 29, 2024 1

The fix for this issue is available in jenkinsci#2, but before I release it could you please try the test build available on the CI server? (get cas-plugin.hpi, rename it to cas-plugin.jpi, put it in your Jenkins plugins folder and restart).

from jenkins-cas-plugin.

fcrespel avatar fcrespel commented on July 29, 2024 1

Thanks for the feedback, CAS plugin version 1.4.3 is now released. It may take a few hours to appear in the Update Center, until then you can grab it from the Maven repository.

from jenkins-cas-plugin.

kgeis avatar kgeis commented on July 29, 2024

I am having the same issue.

differences:

  • Apache as reverse proxy
  • running 2.150.2 LTS (just upgraded this morning); 2.160 security fix was backported to 2.150
  • downgrading to 2.150.1 fixes the problem

from jenkins-cas-plugin.

fcrespel avatar fcrespel commented on July 29, 2024

Thanks for the notice. This issue is related to the SECURITY-901 fix in Jenkins. I'll try to implement the necessary adjustments in CAS plugin ASAP, until then you can either downgrade Jenkins or apply the workaround described in the Upgrade Guide.

from jenkins-cas-plugin.

ToeBee avatar ToeBee commented on July 29, 2024

Ah, the upgrade guide did not mention this when I looked yesterday. Unfortunately the workaround of setting that Java property does not seem to fix it for me. But we can stay at .1 for now.

from jenkins-cas-plugin.

ToeBee avatar ToeBee commented on July 29, 2024

Turns out, there was a typo in the property name on the release notes. Someone updated the wiki page and release notes and things are working for me on .2 now. Just need to remember to unset the property after the CAS plugin is updated :)

from jenkins-cas-plugin.

tanrobotix avatar tanrobotix commented on July 29, 2024

@fcrespel I've tested. It's run OK. Thank you so much for you fixing.
image
Please release it in Jenkins Plugin market. Thank you

from jenkins-cas-plugin.

Wadeck avatar Wadeck commented on July 29, 2024

get cas-plugin.hpi, rename it to cas-plugin.jpi, put it in your Jenkins plugins folder and restart

Not even required to rename, the hpi files are also correctly handled :)

from jenkins-cas-plugin.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.