Setting SSO for Apple

Create app registration

  • Sign in to Apple member center​

  • Go to certificated, identifiers & profiles​

  • Go to identifiers and click the add (+) button​

  • Select the option Services ID’s​

  • Enter a name, this name wil be shown to the users when signing in to the application​

  • Enter an identifier, this can be similar to the package name of the app​

  • Click continue and then click register​​

Set domains and URL'S​

  • Click on the newly created identifier​

  • Enable Sign in with Apple​

  • Click configure​

  • Select a primary App ID​

  • Add one or more domains​

  • Add a return URI with the following format​

    • Https://{yourURL}/AppsService/signin-apple​

    • Https://{yourURL}/Platform/signin-apple​

    • Https://{yourURL}/Apps/signin-apple​

  • Click next​

  • Click done​

  • Click continue and then click save​

Create a private key​

  • Go to Keys​

  • Create a new key and give the key a name​

  • Check “Sign in with Apple” and select configure​

  • Select an app and click save​

  • Click continue and then click register​

  • Download the p8 file and make sure to store it somewhere safe

Setting the settings

  • Sign in to the Any2Info platform and go to Settings​

  • Click on the group Authorization and select “Apple SSO”​

  • For the client id fill the identifier of the created identity, sample:​ com.sso.any2info​

  • In the AppleTeamCountId fill the ID of your Apple developer team​

  • Open the .p8 file with notepad and copy the text between “BEGIN PRIVATE KEY” and “END PRIVATE KEY” make sure you remove the spaces

  • Enable the EnableAppleSSO setting

  • Save the settings​

Connect Apple id to the user​s

  • For each user that should be able to sign in to the platform/app using Apple make sure the SSO username is filled, this should be the username of the Apple account.

Last updated