Auth  /  Your own Apple sign-in

Your own Apple sign-in

By default "Sign in with Apple" runs on Onelo's Services ID in Onelo's Apple developer team, and Apple shows Onelo. Apple sign-in works this way on every Onelo plan. With Onelo Pro or Business your app can use a Services ID from your own Apple team, and Apple shows the app it belongs to. Every sign-in of the app uses it: the hosted sign-in page, the store and every SDK.

Decide before your first Apple user

Apple gives each person a different ID, and a different hidden e-mail address, for every Apple developer team. A person who signed in through Onelo's team would arrive under your team as a stranger and get a second account. So Onelo refuses to move Apple sign-in to another Apple team while your app has Apple users. An app without Apple users can switch freely. Inside the same team you can always replace the key or the Services ID.

Set up your own Apple credentials before you switch Apple sign-in on, if you want them at all.

What to create in your Apple Developer account

  1. Under Certificates, Identifiers & Profiles create a Services ID and enable Sign in with Apple on it.
  2. Configure it: add the domain and the return URL your app's Auth tab shows. On Onelo they are onelo.tools and https://onelo.tools/api/sdk/auth/oauth/callback.
  3. Create a key with Sign in with Apple enabled and download the .p8 file. Note its Key ID and your Team ID.
  4. To e-mail people who hide their address, register Onelo's sending domain under Sign in with Apple for Email Communication. Otherwise mail to their private relay address bounces.

Save it in Onelo

In the dashboard open your app → Auth → Sign-in providers → Use my own key → Apple → Use my own and enter the Services ID, Team ID, Key ID and the .p8 file's contents. Or ask your agent: social_login.set_own_credentials with provider: "apple". Onelo asks Apple first and refuses credentials Apple rejects. The key is stored encrypted and never shown again; Onelo signs Apple's client secret with it for each sign-in.

When something breaks

What happenedWhat you see
Apple refuses your credentials (revoked key, wrong IDs, return URL removed)The person sees a sign-in error. You get one e-mail and the Auth tab shows the refusal until a sign-in works again or you save new credentials.
The key or Services ID was deletedOnelo checks your credentials once a day and tells you the same way.
Your plan no longer includes own credentialsApple keeps using yours, because switching back would give your Apple users second accounts. You can remove them while the app has no Apple users.
Your own Apple sign-in — Auth — Onelo Docs