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

[OAuth2Manager] Remove APIs for Implicit grant type #4979

Merged
merged 4 commits into from
Dec 23, 2024

Conversation

akanpatel2206
Copy link
Contributor

Removing APIs added for Implicit grant type suggested by security review.
Implicit grant type is not the recommended way to perform OAuth2.0. Authorization code grant type should be used.

A microsoft employee must use /azp run to validate using the pipelines below.

WARNING:
Comments made by azure-pipelines bot maybe inaccurate.
Please see pipeline link to verify that the build is being ran.

For status checks on the main branch, please use TransportPackage-Foundation-PR
(https://microsoft.visualstudio.com/ProjectReunion/_build?definitionId=81063&_a=summary)
and run the build against your PR branch with the default parameters.

@akanpatel2206
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@akanpatel2206 akanpatel2206 requested a review from a team December 17, 2024 11:00
@akanpatel2206
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@akanpatel2206
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@@ -39,47 +39,6 @@ and OAuth 2.0 for Native Apps [RFC 8252](https://tools.ietf.org/html/rfc8252).

## Perform OAuth 2.0 (c++)
Copy link

@AjitSurana AjitSurana Dec 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should mention that our oAuth2.0 API intentionally does not implement the implicit request & resource owner password credential because of so and so reason.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@AjitSurana
Copy link

@dotMorten, FYI, This PR removes implicit request as mentioned in the #4904 (comment)

cc: @akanpatel2206

@akanpatel2206
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@akanpatel2206
Copy link
Contributor Author

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@akanpatel2206 akanpatel2206 enabled auto-merge (squash) December 23, 2024 10:27
@akanpatel2206 akanpatel2206 merged commit 18f3a27 into main Dec 23, 2024
26 checks passed
@akanpatel2206 akanpatel2206 deleted the user/akanpatel2206/OAuth2Manager_RemoveImplicit branch December 23, 2024 11:10
codendone pushed a commit that referenced this pull request Jan 10, 2025
* [OAuth2Manager] Remove APIs for Implicit grant type

* Remove implicit refernces

* Telemetry

* Add security recommendations to OAuth2Manager spec.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants