Skip to content

Add AppConfig Support for MDM Managed Configurations#6381

Open
ManfredWisniewski wants to merge 8 commits into
nextcloud:masterfrom
ManfredWisniewski:AppConfig-configuration
Open

Add AppConfig Support for MDM Managed Configurations#6381
ManfredWisniewski wants to merge 8 commits into
nextcloud:masterfrom
ManfredWisniewski:AppConfig-configuration

Conversation

@ManfredWisniewski

Copy link
Copy Markdown

AppConfig Support

  • AppConfigManager now exposes managed username and app-password keys alongside the server URL for reuse by dependent
  • ServerSelectionActivity pre-fills the managed base URL on first launch and, after capability checks, bypasses browser login when managed credentials are present, handing them directly to account
  • Declared the username and app-password restrictions in app_restrictions.xml so MDM providers can supply them via managed configuration.

🚧 TODO

  • Also implement these changes for the Nextcloud App

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
    Manual Testing of the MDM support was done with Samsung KNOX Manage platform.
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI
    Changes proposed in this PR were created with the help of GPT-5-Codex.
    Building and testing the App in Android Studio was supported by Gemini.

@mahibi

mahibi commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Hi @ManfredWisniewski
thank you for contributing. We will have a closer look at the Pull request soon.

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.

3 participants