Jenkins Okta integration

After integrating Jenkins with Okta using SAML 2.0 plugin, login to Jenkins fails with the following:

HTTP ERROR 403 No valid crumb was included in the request

URI: /
STATUS: 403
MESSAGE: No valid crumb was included in the request
SERVLET: Stapler

Powered by Jetty:// 9.4.45.v20220203

Need help to resolve this issue.

Thanks.

Standard fixes to No valid crumb:

  • Check jenkins error log
  • Update all plugins
  • Confirm hostname in /manage (or config.xml) matches hostname you are accessing jenkins with
  • Confirm your loadbalancer/reverse proxy/etc is doing X-Forwarded-Host, X-Forwarded-Proto and maybe X-Forwarded-Port are setup correctly