OAuth2 grant BROKEN in dev branch

Bug #1838686 reported by Kyle Landell on 2019-08-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DHIS
Undecided
Unassigned

Bug Description

Browser: N/A
OS: Windows
Container: N/A
Console: N/A

OAuth2 authentication is broken in https://play.dhis2.org/dev. However, everything works as expected in https://play.dhis2.org/2.32.1.

This issue can be replicated by following the tutorial for OAuth2 authentication here https://docs.dhis2.org/2.22/en/developer/html/ch01s02.html.

OR concisely:

- Add an OAuth2 client to https://play.dhis2.org/dev
- curl -X POST -H "Accept: application/json" -u demo:$SECRET $SERVER/dev/uaa/oauth/token -d grant_type=password -d username=admin -d password=district

--> You will receive a 401 error.

- Repeat for https://play.dhis2.org/2.32.1

--> Access token grant works properly.

NOTE: I did not attempt refresh token and access code grant types, so they may be broken as well.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers