Skip to content

Makes OIDC metadata URL configurable. Closes #1328#1329

Merged
waldekmastykarz merged 1 commit into
dotnet:mainfrom
waldekmastykarz:fix-auth-oid
Jul 16, 2025
Merged

Makes OIDC metadata URL configurable. Closes #1328#1329
waldekmastykarz merged 1 commit into
dotnet:mainfrom
waldekmastykarz:fix-auth-oid

Conversation

@waldekmastykarz

Copy link
Copy Markdown
Collaborator

Makes OIDC metadata URL configurable. Closes #1328

Copilot AI review requested due to automatic review settings July 16, 2025 09:24
@waldekmastykarz waldekmastykarz added the pr-bugfix Fixes a bug label Jul 16, 2025
@waldekmastykarz waldekmastykarz requested a review from a team as a code owner July 16, 2025 09:24

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR makes the OIDC (OpenID Connect) metadata URL configurable in the AuthPlugin, replacing the previously hardcoded Microsoft Azure AD endpoint. This change allows users to configure Dev Proxy to work with different identity providers beyond just Microsoft's Azure AD.

Key Changes

  • Modified the SetupOpenIdConnectConfigurationAsync method to accept a configurable metadata URL parameter
  • Updated the method call to pass the metadata URL from the plugin configuration
  • Replaced hardcoded Microsoft-specific OIDC endpoint with a configurable value

Comment thread DevProxy.Plugins/Mocking/AuthPlugin.cs
Comment thread DevProxy.Plugins/Mocking/AuthPlugin.cs
@waldekmastykarz waldekmastykarz merged commit 427cdad into dotnet:main Jul 16, 2025
4 checks passed
@waldekmastykarz waldekmastykarz deleted the fix-auth-oid branch July 16, 2025 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Auth plugin not using metadataUrl parameter

3 participants