Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Which Rest API for Confluence okta enabled authentication?

Yong Wang September 18, 2019

Hi, 

The following Python code was working for Confluence basic authentication. However it was not working after we upgraded Confluence with okta enabled. Could you please suggest anything to fix it?

self.default_headers = {'content-type': 'application/x-www-form-urlencoded'}
self.default_auth = (USERNAME, PASSWORD)

# Defaults for the Confluence API requests
self.REST_API_URL = 'https://wiki.xxxx.com.au:80/rest/prototype/1'
self.REST_API_HEADERS = {'Accept': 'application/json'}

Thanks

Yong

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 23, 2019

Hello @Yong Wang,

Welcome to Atlassian Community. It's nice to meet you.

You'll want to use OAuth to connect using Okta. I would recommend contacting Okta support, and they would be able to help you to do that.

I hope that helps, but let us know if you have any questions.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events