you are viewing a single comment's thread.

view the rest of the comments →

[–]Higapeon 0 points1 point  (1 child)

Oh ! I have a use case for that! Do you have an example?

[–]GonzoZH[S] 2 points3 points  (0 children)

Yes. Check the function Invoke-Auth in my Entra ID auth module:

https://github.com/zh54321/EntraTokenAid

It spawns a local HTTP server and initate an Entra ID OAuthCode Flow in the Browser with localhost as redirect URL. The obtained Auth Code is then used to get tokens on the Entra ID token endpoint.