Is there a native way to authenticate to the api using OAuth 2.0 tokens provided by Okta? I know there are ways to do this using plugins like miniOrange, but does Confluence support this on its own?
I did some more research on my own on this one. It seems like Confluence Data Center does not support OAuth 2.0 for REST APIs
Sources
Authentication and authorization for developers (atlassian.com)
Jira Rest API Okta - REST API Authentication In Jira using Okta (miniorange.com)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to the community.
You can check the following article, how-to-integrate-confluence-dc-with-okta-for-saml-2-0-sso
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your response. Unfortunately, this does not solve my problem. That is for integrating Confluence with okta in general.
Let me add some clarification here: Our confluence instance is already integrated with okta. We are trying to do something involving authenticated to the api (using the Atlassian Python Module) by passing an OAuth2.0 token from okta. From the docs:
This is an example from under the header "Other Authentication methods"
from atlassian.bitbucket import Cloud # token is a dictionary and must at least contain "access_token" # and "token_type". oauth2_dict = { "client_id": client_id, "token": token} bitbucket_cloud = Cloud( oauth2=oauth2_dict)
We have gotten this code to work using a token generated inside confluence using miniorange. I am wondering if there is:
A) A way to make this code work natively, without miniOrange
B) Authenticate using an okta token rather than a token generated inside Confluence.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.