Skip to content
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

Add option to disable sign in providers (Apple, Google, E-Mail) using Apple Mobile Device Management (MDM) #1717

Open
nilsreichardt opened this issue Aug 20, 2024 · 0 comments
Labels
feature request An idea for a new feature. It's open if we are going to implement this or not. platform: ios

Comments

@nilsreichardt
Copy link
Member

Background

Some students have an iPad that is controlled by the school. They ask the IT admin if Sharezone can be allowed (only the students are using Sharezone, not the school). However, for privacy reasons, IT admins may want to disable Google and Apple sign-in.

I did a little research and it might be possible to allow IT admins to set some flags in MDM so that the login options are disabled for the managed iPads.

Example

if let appConfig = UserDefaults.standard.dictionary(forKey: "com.yourcompany.yourapp") {
    if let disableGoogleSignIn = appConfig["disableGoogleSignIn"] as? Bool, disableGoogleSignIn {
        // Disable Google Sign-In in your app
    }

    if let disableFacebookSignIn = appConfig["disableFacebookSignIn"] as? Bool, disableFacebookSignIn {
        // Disable Facebook Sign-In in your app
    }
}

⚠️ I only did very short research. It could be that it's not possible to configure it like that.

Resources

@nilsreichardt nilsreichardt added platform: ios feature request An idea for a new feature. It's open if we are going to implement this or not. labels Aug 20, 2024
@nilsreichardt nilsreichardt changed the title Add option to disable sign in providers (Apple, Google, E-Mail) using Apple Device Management (MDM) Add option to disable sign in providers (Apple, Google, E-Mail) using Apple Mobile Device Management (MDM) Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request An idea for a new feature. It's open if we are going to implement this or not. platform: ios
Projects
Status: Someday
Development

No branches or pull requests

1 participant