<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Jenkins SAML Integration sometimes Redirects to Okta User Dashboard instead of Jenkins Application when Trying to Log In
Single Sign-On
Okta Classic Engine
Okta Identity Engine
Overview

Users are intermittently redirected back to the Okta dashboard when trying to authenticate to Jenkins via a Security Assertion Markup Language (SAML) integration.

Applies To
  • Jenkins SAML OIN Application
  • Okta Integration Network​​​​​​ (OIN)
Cause

Jenkins may not always redirect users to the default user portal unless a default relay state is specified in the Okta SAML configuration to supersede the application redirect.

Solution

To supersede the Jenkins redirect process after successful SAML authentication, add the Jenkins user dashboard URL as the Default Relay State within the SAML application integration in Okta.

JenkinsRelayState 

Loading
Jenkins SAML Integration sometimes Redirects to Okta User Dashboard instead of Jenkins Application when Trying to Log In