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 requestsself.REST_API_URL = 'https://wiki.xxxx.com.au:80/rest/prototype/1'self.REST_API_HEADERS = {'Accept': 'application/json'}
Thanks
Yong
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
It looks like you're new here. Sign in or register to get started.