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.
What to create in your Apple Developer account
- Under Certificates, Identifiers & Profiles create a Services ID and enable Sign in with Apple on it.
- Configure it: add the domain and the return URL your app's Auth tab shows. On Onelo they are
onelo.toolsandhttps://onelo.tools/api/sdk/auth/oauth/callback. - Create a key with Sign in with Apple enabled and download the .p8 file. Note its Key ID and your Team ID.
- 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 happened | What 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 deleted | Onelo checks your credentials once a day and tells you the same way. |
| Your plan no longer includes own credentials | Apple keeps using yours, because switching back would give your Apple users second accounts. You can remove them while the app has no Apple users. |