OKTA and Confluence
Asked by Ernie Jennings:

Is anyone using OKTA with Confluence for SSO? Are there any gotchas? If you have a link to share, that would be great!\~

Thanks


Answers:
author: Jon Espen Ingvaldsen Kantega SSO
body: Hi [@Ernie Jennings](/t5/user/viewprofilepage/user-id/989523)   

Setting up Okta as an identity provider to confluence is quite straight forward and can be done using both the SAML and OpenID Connect standards. For Confluence server you need one of the marketplace SSO app to achieve this.   

There are, however, some gotchas related to how to provision users and give Confluence knowledge about Okta user accounts and their permissions. You can create and maintain user records manually, but there are also more automated ways of keeping confluence user directories up to date. Just-in-time provisioning makes use of SAML user attributes (name, email and group memberships) to update confluence on-the-fly each time a user logs in. User sync or cloud user provisioning is a third alternative, where a background process takes care of updating Confluence with user data from Okta. The advantage of the latter approach is that it can also remove and deactivate users that no longer should have access. <https://kantega-sso.com/articles/provisioning/>

Should all users in your organization access Confluence through Okta, or will you also have other users (like internship students, external consultants and admins) that will need to login natively with username and password directly in confluence? If that is the case, you should select a solution that allow you to combine SSO with traditional login. 2-step login is something many organizations use here to automatically route a subset of users to the right login mechanism. <https://kantega-sso.com/articles/2steplogin/>

If you want to apply stronger authentication like 2 factor auth, there are also a gotcha related to closing traditional confluence login options (removing weak authentication as an option and login alternative). <https://kantega-sso.com/articles/MFA/>

Hope this help you to progress and setup a secure and user friendly user experience, and get a user access solution that is easy to maintain.

<br />

Regards,  
Jon Espen   
[Kantega SSO](https://kantega-sso.com)


author: Ankit
body: Hi Ernie,

You can checkout our app SAML SSO for Confluence which supports Okta as IDP. You can try the app for free on the link below:

[https://marketplace.atlassian.com/apps/1215542/single-sign-on-sso-confluence-saml?hosting=server\&tab=overview](https://marketplace.atlassian.com/apps/1215542/single-sign-on-sso-confluence-saml?hosting=server&tab=overview)

Here's a step by step guide to set it up with Okta. This generally takes 2-4 minutes.

<https://plugins.miniorange.com/saml-single-sign-sso-confluence-using-okta/>

If you need any assistance in setting this up, you can reach out to [atlassiansupport@xecurify.com](mailto:atlassiansupport@xecurify.com) and they'll set up a screen share with you to get your set up up and running.

Thanks,

Ankit Ahuja

**P.S** : Full Disclosure, I work with [miniOrange](https://marketplace.atlassian.com/vendors/1213308/miniorange), one of the top SSO vendors on Atlassian marketplace.

comments: author: Ernie Jennings
body: Very cool, thanks so much. We are using the Confluence Internal Directory, is there anything we need to be vigilant about? Eventually, we would like to use AD. Thanks for you're willingness to assist.


author: Ernie Jennings
body: Hi [@Ankit](/t5/user/viewprofilepage/user-id/832212) , do you know is it possible to manually login and have SSO?


author: Ankit
body: Yes, you can have a simple login button and SSO button beside it. Apart from this, you can enable Manual Login or SSO based on email domain. So you can configure SSO for your AD users only. Here, users will be asked to enter email address/username first and based on the email domain, they'll be either shown a manual login page or redirected to Okta.

Regarding AD consideration, it is compatible with AD. Your users will be logged in with their AD synced account after SSO.


Tags: confluence-server

server