Closed Bug 1676877 Opened 3 years ago Closed 3 years ago

With recent changes to the Mojo REST endpoints, we need to disallow using cookies for auth when using API

Categories

(bugzilla.mozilla.org :: API, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: dkl, Assigned: dkl)

Details

Attachments

(1 file)

I neglected to properly check the usage mode when authentication API requests under Bugzilla/API/V1/* and therefore allow cookies to be used which is not desirable.

I will create a patch to skip cookie check if usage_mode = REST.

Attached file GitHub Pull Request

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: