-
Notifications
You must be signed in to change notification settings - Fork 305
feature/azure-ad-change-provider #8612
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
base: devel
Are you sure you want to change the base?
Conversation
html/pfappserver/root/src/views/Configuration/sources/_components/FormTypeAzureAD.vue
Outdated
Show resolved
Hide resolved
html/pfappserver/root/src/views/Configuration/sources/_components/FormTypeAzureAD.vue
Outdated
Show resolved
Hide resolved
b4ea32b
to
f01194b
Compare
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
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 Azure AD graph and OAuth URLs configurable by replacing hardcoded Microsoft URLs with configurable fields. This allows for custom Azure AD endpoints or sovereign cloud deployments.
- Replaces hardcoded
user_groups_url
andtoken_url
fields with configurablegraph_url
andoauth_url
fields - Updates the RADIUS configuration generation to use the configurable OAuth URL
- Provides an upgrade script to migrate existing configurations
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
File | Description |
---|---|
lib/pf/Authentication/Source/AzureADSource.pm | Replaces hardcoded URLs with configurable graph_url and oauth_url fields |
lib/pf/services/manager/radiusd_child.pm | Updates RADIUS config to use configurable OAuth URL from source |
html/pfappserver/root/src/views/Configuration/sources/_components/FormTypeAzureAD.vue | Updates Vue form to use new graph_url and oauth_url fields |
html/pfappserver/lib/pfappserver/Form/Config/Source/AzureAD.pm | Updates form definition with new configurable URL fields |
html/pfappserver/root/src/views/Configuration/sources/_components/index.js | Exports new form group components for graph and OAuth URLs |
addons/upgrade/to-15.0-azure-ad.pl | Migration script to convert existing user_groups_url to graph_url |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
Description
Allow the AzureAD graph and oauth urls to be configurable.
Issue
fixes #8607
Delete branch after merge
YES
Checklist
(REQUIRED) - [yes, no or n/a]
NEWS file entries
Enhancements