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

Access Token Proof of Possession Capability #2512

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from

Conversation

FehintolaObafemi
Copy link
Contributor

@FehintolaObafemi FehintolaObafemi commented Jan 3, 2024

Fixes #

Changes proposed in this pull request

  • Introducing an Access Token Proof of Possession capability for this SDK
  • Updating the dependencies to the latest version to support all recent changes
  • Adding the option to specify http method for AT PoP bound token acquisition
  • Adding the option to specify the URI for AT PoP bound token acquisition

Other links

@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch 3 times, most recently from f46153c to d79e836 Compare February 29, 2024 18:22
@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch from d79e836 to 0a2936e Compare April 15, 2024 15:01
@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch from 0a2936e to 5e9961e Compare April 25, 2024 00:02
@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch from 5e9961e to dd2f7e0 Compare May 21, 2024 16:25
@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch from ffa1edb to 9f90a73 Compare May 22, 2024 17:34
@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch 2 times, most recently from 929b2b4 to 4d5e435 Compare June 5, 2024 17:15
@FehintolaObafemi FehintolaObafemi added enhancement New feature or request and removed Do not merge labels Jun 5, 2024
To enable AT PoP, configure the Microsoft Graph SDK options as follows:

```powershell
Set-MgGraphOption -EnableATPoP $true
Copy link

Choose a reason for hiding this comment

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

Should we release this specific feature as preview / experimental? Does MS Graph PS have this capability?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is a good idea. @timayabi2020 can this be released as a preview version similar to the version 2.0 roll out?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, it can, however I think we should first publish the feature to an internal feed and get a few guys to test internally

@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch 2 times, most recently from e90f311 to 13e2057 Compare June 13, 2024 18:25
@FehintolaObafemi FehintolaObafemi marked this pull request as ready for review June 13, 2024 18:25
@FehintolaObafemi FehintolaObafemi requested a review from a team as a code owner June 13, 2024 18:25
@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch from 13e2057 to 8883eda Compare June 25, 2024 17:22
<PackageReference Include="Azure.Identity.Broker" Version="1.1.0" />
<PackageReference Include="Microsoft.Graph.Core" Version="3.0.9" />
<PackageReference Include="Azure.Identity" Version="1.12.0-beta.3" />
<PackageReference Include="Azure.Identity.Broker" Version="1.2.0-beta.1" />
Copy link
Contributor

Choose a reason for hiding this comment

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

In previous conversations, we had wondered if Azure.Identity is actually bringing any value here over using Microsoft.Identity.Client directly. Azure.Identity is intended to limit the surface area exposed to 3P developers. This is not relevant for PowerShell scenarios. I am especially concerned when I see the introduction of Azure.Core.Pipeline. We explicitly don't use the Azure Pipelining because it is only there to abstract away language differences, and again that isn't relevant because our PowerShell modules are only implemented in C#.

@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch from 8883eda to e708fc1 Compare June 26, 2024 17:48
@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch 5 times, most recently from d2d03fa to ff194cb Compare July 15, 2024 20:31
@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch 2 times, most recently from 8b69aea to a1f778a Compare July 25, 2024 21:38
@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch from 34fb968 to d811806 Compare August 12, 2024 19:25
@FehintolaObafemi FehintolaObafemi force-pushed the fehintolaobafemi/AT-PoP branch from d811806 to 2136757 Compare August 28, 2024 19:48
timayabi2020 and others added 7 commits December 4, 2024 09:38
Adding AT PoP skeleton (#2511)

* adding "-AT PoP" option to "Set-MgGraphOptions"

---------

AT PoP Version 1

Fehintolaobafemi/methodanduri (#2751)

* Making changes to how httpmethod and uri is processed

---------

Fixing and updating the docs

resolving build break

fixing build issues related to docs

resolving PR comments

updating nuget packages

removing unnecessary string assignment

Resolving PR comments

reverting test csproj changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants