Skip to content

Connect-MgGraph needs support for redirecturi #3433

@mlhickey

Description

@mlhickey

Is your feature request related to a problem? Please describe the problem.

Many organizations are starting to, or already block the use of the default http://localhost as a redirecturi due to security concerns. Adding support for a RedirectURI parameter would address that need and provide additional flexibility when using more targeted/custom endpoints.

Describe the solution you'd like.

Add RedirectURI as a command-line parameter for Connect-MgGraph. This appears to be a simple addition of the parameter itself to the AuthContext components and a conditional addition in GetInteractiveBrowserCredentialAsync

Additional context?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions