Skip to content

Add support for federated authentication with Apple Business Manager#465

Open
daltonclaybrook wants to merge 6 commits intoXcodesOrg:mainfrom
daltonclaybrook:dalton/federated-auth
Open

Add support for federated authentication with Apple Business Manager#465
daltonclaybrook wants to merge 6 commits intoXcodesOrg:mainfrom
daltonclaybrook:dalton/federated-auth

Conversation

@daltonclaybrook
Copy link
Contributor

Resolves #260 and #378

This PR adds support for federated authentication with Apple Business Manager. During the login flow, after the user has entered their Apple ID, the app now sends a network request to https://idmsa.apple.com/appleauth/auth/federate/validate to check whether the provided Apple ID uses federated auth. If so, instead of prompting for the user's password, the app now provides instructions for completing auth. The app opens a web browser where the user completes authentication with their identity provider and is redirected to a blank page. Finally, the user copies the URL from the browser, pastes it into their terminal, and can perform authenticated requests.

image

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.

Support for AppleID with Business Manager (Federated Authentication)

1 participant