Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application v1.0 and beta APIs broken field: oauth2RequiredPostResponse #273

Open
manicminer opened this issue Feb 17, 2023 · 0 comments
Open
Labels
Area: GraphService An issue with the Microsoft Graph Service API

Comments

@manicminer
Copy link

manicminer commented Feb 17, 2023

Both the v1.0 and beta APIs have broken handling of the oauth2RequiredPostResponse field, in different ways:

Beta API

Less urgent, the beta API seems to have this field misnamed as oauth2RequirePostResponse - note the missing d of Require(d). If you send a field with the documented name of oauth2RequiredPostResponse, you get a 404 error both for POST and PATCH requests, however it works with the misspelled field name.

Correct name yields 404

POST /beta/applications
Screenshot 2023-02-17 at 21 24 03

PATCH /beta/applications/{id}
Screenshot 2023-02-17 at 21 26 13

Incorrect name is successful

POST /beta/applications
Screenshot 2023-02-17 at 21 23 56

PATCH /beta/applications/{id}
Screenshot 2023-02-17 at 21 26 28

v1.0 API

More urgently, the v1.0 API doesn't seem to accept either of these namings of this field and it is impossible to create an application whilst specifying this field, or to set this field on an existing application. This means we cannot currently use the v1.0 API for applications.

Correct name fails

POST /v1.0/applications
Screenshot 2023-02-17 at 21 29 02

PATCH /v1.0/applications/{id}
Screenshot 2023-02-17 at 21 28 39

Incorrect name also fails

POST /v1.0/applications
Screenshot 2023-02-17 at 21 28 57

PATCH /v1.0/applications/{id}
Screenshot 2023-02-17 at 21 28 31

@irvinesunday irvinesunday added the Area: GraphService An issue with the Microsoft Graph Service API label Jul 17, 2023
manicminer added a commit to hashicorp/pandora that referenced this issue Aug 12, 2024
manicminer added a commit to hashicorp/pandora that referenced this issue Aug 12, 2024
manicminer added a commit to hashicorp/pandora that referenced this issue Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: GraphService An issue with the Microsoft Graph Service API
Projects
None yet
Development

No branches or pull requests

2 participants