Hello All
I am trying to integrate Jenkins (v2.438) with OKTA. Created OKTA group and Jenkins role with same name and still having issues while try to login. Below is the config I am using.
okta: |
jenkins:
securityRealm:
oic:
clientId: "${okta-clientid}"
clientSecret: "${okta-clientsecret}"
wellKnownOpenIDConfigurationUrl: "${okta-issuerurl}/.well-known/openid-configuration"
fullNameFieldName: "name"
emailFieldName: "email"
disableSslVerification: false
logoutFromOpenidProvider: true
escapeHatchEnabled: false
endSessionEndpoint: "${okta-issuerurl}/v1/logout"
postLogoutRedirectUrl: "https://test.com/OicLogout"
userInfoServerUrl: "${okta-issuerurl}/v1/userinfo"
automanualconfigure: "auto"
tokenServerUrl: "${okta-issuerurl}/v1/token"
authorizationServerUrl: "${okta-issuerurl}/v1/authorize"
overrideScopes: "customgroups openid email"
authorizationStrategy:
roleBased:
roles:
global:
- name: "admin"
permissions:
- "Overall/Administer"
entries:
- user: "admin"
- name: "devops"
permissions:
- "Overall/Administer"
entries:
- user: "devops"
- name: "readonly"
permissions:
- "Overall/Read"
- name: "authenticated"
permissions:
- "Overall/Read"
entries:
- group: "authenticated"
- name: "JEKINS_ROLE_A"
permissions:
- "Overall/Administer"
entries:
- group: "OKTA_ROLE_A"
items:
- name: "JEKINS_ROLE_A"
pattern: ".*"
permissions:
- "Overall/Administer"
entries:
- group: "OKTA_ROLE_A"
Can anyone please guide me here?