Skip to content

Add doc to specify differences between Jenkins Jetty session and OpenID Provider session #647

@YanekC

Description

@YanekC

Describe your use-case which is not covered by existing documentation.

Our Jenkins is configured with this plugin and Forgerock as an OP.

If our users did not refresh their Jenkins tabs within a certain amount of time (~1h), the user needed to go through a full login cycle.

We did not understand why at first cause our OP sessions were set for 7h.

While digging through issues on this repo and some stackoverflow questions, I managed to understand that Jetty session needed to be longer than our OP session.

I needed to add --sessionTimeout=1440 --sessionEviction=43200 to Jenkins launch command line.

Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.

I think it could be nice to have some info about this behaviour in the configuration readme.

https://github.com/jenkinsci/oic-auth-plugin/blob/master/docs/configuration/README.md

Are you interested in contributing to the documentation?

I don't think I know enough about the inner working of OIDC to be able to describe accuratly and with the right terms what users of this plugin should do.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Documentation.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions