Intermittent 404's reported while using reporting api's with basic auth.

Description

Summary :

https://community.developer.atlassian.com/t/outgate-marketplace-api-responds-with-401-authentication-failed-via-http-baseauth/40064

https://community.developer.atlassian.com/t/marketplace-rest-api-authentication/39827/6

Multiple partners are reporting that they are unable to use /reporting api with basic auth.

Steps to Reproduce :

1. Add yourself as a partner contact to any partner account on staging.
2. Try to access the api with basic auth.

Expected Results :

200, Success.

Actual Results :

401, Unauthorized response. / 404

Workaround(s) :

1. Use the cookies from an active browser session for making the rest call and disable the basic auth.

Steps for obtaining the cookie (thanks to partner Midori for adding the steps)

  • Log in here: https://marketplace.atlassian.com/

  • Open the Developer Tools of the browser and look for the “cloud.session.token” cookie

  • Add a “Cookie” header with “cloud.session.token=<value of the cookie>” value to your requests

2. For those using social logins, another workaround is to reset your password.

  • Go to https://marketplace.atlassian.com/

  • Click on Login.

  • Click on Can't log in ( beside the sign up option ) , reset the password.

  • Use the newly created password for basic auth.

Environment

PROD

Testing Notes

Add notes...

Security Policy

None

Team

None

Assignee

Vikramaditya Kukreja

Reporter

Ankur Yarazarvi

Components

None

QA Dev

None

Needs Doc

None

Peer Reviewer

None

Mgr Approver

None

CC

None

Product

None

Payment Model

None

Plugin Key

None

App Key

None

DC app ready for review?

Not Ready

App ID

None

Priority

Major
Configure