Skip to content

#105 Add ability to set custom client id from UI#115

Merged
cricketthomas merged 2 commits intomasterfrom
105-add-custom-clientid
Mar 24, 2025
Merged

#105 Add ability to set custom client id from UI#115
cricketthomas merged 2 commits intomasterfrom
105-add-custom-clientid

Conversation

@cricketthomas
Copy link
Owner

@cricketthomas cricketthomas commented Mar 22, 2025

New feature implementation for enhanced client ID management in the UI, allowing users to use their own enterprise applications, rather than mine from my own tenant. Users will navigate to the settings page, click the checkbox, and add their valid client/application id.

This implementation has been added in the new version, and has been added to this version as well until the new version is ready.

This should close #105
image

PR Summary

This pull request introduces new properties for managing custom client IDs in the application settings and updates the UI to support these features. It also includes package updates for improved functionality and performance.

  • AppSettings.cs: Added SettingsPageClientIdCheckbox and CustomClientId properties.
  • AuthService.cs: Modified constructor to utilize the new client ID properties.
  • SettingsPageViewModel.cs: Enhanced with observable properties for the new settings and their change handlers.
  • SettingsPage.axaml: Updated layout to include a settings expander for custom client ID input.
  • README.md: Revised to provide instructions for using a custom client ID/application ID in Azure AD.

@cricketthomas cricketthomas requested a review from GSerjo March 22, 2025 13:53
- Introduced `SettingsPageClientIdCheckbox` and `CustomClientId` properties in `AppSettings`.
- Updated `AuthService` to use these new settings for authentication.
- Enhanced `SettingsPageViewModel` with observable properties for the new settings.
- Modified settings retrieval to include the new properties from JSON.
- Implemented partial methods to handle changes to the new settings asynchronously.
- Updated XAML to include UI elements for custom client ID configuration.
@cricketthomas cricketthomas force-pushed the 105-add-custom-clientid branch from 877134c to b7897c9 Compare March 22, 2025 13:58
@cricketthomas cricketthomas merged commit 0350e07 into master Mar 24, 2025
1 of 2 checks passed
@cricketthomas cricketthomas deleted the 105-add-custom-clientid branch June 9, 2025 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable setting custom app registration ClientID via UI

2 participants