I’m trying to update the Domains and Redirects section for my Services ID configuration in Apple Developer (for Sign in with Apple).
When I add new domains and click Save, nothing happens. In the browser console, I see a network request that fails with:
PATCH not supported
What I’ve tried so far:
Logging out/in and refreshing the page
Clearing browser cache and cookies
Trying in Safari, Chrome, and incognito mode
Verifying domain formatting (HTTPS, no trailing slash, domain is live)
The issue persists in all browsers I’ve tested.
Request:
Is this a known issue with the Developer portal, or is there an alternative method to update my Services ID domains? Any guidance would be appreciated.
Thanks,
Sign in with Apple
RSS for tagSign in with Apple enables users to sign into apps and websites using their Apple ID.
Posts under Sign in with Apple tag
128 Posts
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I can't find any documentation on design guidelines for "Login with Game Center" button. My app allows users to "Play as Guest" or "Login with Game Center". Since Apple provides somewhat strict guidelines for designing "Sign in with Apple" button, i was wondering how to design the button for Game Center login. Should i use Game Center icon. And will Apple review reject this?
I have two applications, and I recently decided to add the Apple Sign In feature.
Initially, I configured it for one of the apps as the Primary ID for this feature. Everything worked well, and I decided to add it to the second app. I made a mistake and used the First app as Primary ID using the "Group with an existing primary App ID" flag. Now, when I sign in using the second app, I don't see it in the list of apps in iPhone Settings for Apple Sign In; I only see the primary app. And with that, I no longer see a prompt for sharing/hiding email, and I am unable to revoke credentials correctly.
I decided to change the Second app's Sign-in config and set it as the Primary ID for the feature. I was hoping to get two apps independent for the SignIn. However, it doesn't seem to make a difference. The second app behaves the same way, as long as the first app used SignIn, the second one always thinks that the user has already used that feature and never shows the correct prompt.
Is there something I missed after changing the Configuration?
I'm currently coding an application using Azure Entra External ID (B2C) with User Flows and multiple identity providers configured.
So far, I’ve successfully linked Microsoft, Google, and Facebook. However, when configuring Apple as an identity provider, the User Flow fails with the following error:
"invalid_request invalid web redirect url"
Following the Microsoft Learn guide (https://learn.microsoft.com/en-us/entra/external-id/customers/how-to-apple-federation-customers), I completed the following:
Create an Apple application
Sign in to the Apple Developer Portal with your account credentials.
From the menu, select Certificates, IDs, & Profiles, and then select (+).
In the Register a New Identifier section, select App IDs, and then select Continue.
For Select a type, select App, and then select Continue.
To Register your App ID:
Enter a Description.
Enter the Bundle ID, such as com.contoso.azure-ad. Explicit naming such as com.myappdomain.myappname recommended.
For Capabilities, select Sign in with Apple from the capabilities list.
Take note of your Team ID (App ID Prefix) from this step. You'll need it later.
Select Continue and then Register.
From the menu, select Certificates, IDs, & Profiles, and then select (+).
In the Register a new identifier section, select Services IDs, and then select Continue.
In Register a Services ID:
Enter a Description. The description is shown to the user on the consent screen.
Enter the Identifier, such as com.contoso.entra-service. Explicit naming such as com.myappdomain.myappname.service is recommended. Take note of your Service ID identifier. The identifier is your Client ID.
Select Continue, and then select Register.
From Identifiers, select the Service ID identifier you created.
Select Sign In with Apple, and then select Configure.
Select the Primary App ID you want to configure Sign in with Apple with.
In Domains and Subdomains, enter the following by replacing
with your tenant ID or your primary domain name, and
with your tenant name. All characters should be in lower-case. As an example:
.ciamlogin.com
.ciamlogin.com
In Return URLs, enter the following by replacing with your tenant ID or your primary domain name, and with your tenant name. All characters should be in lower-case.
As an example:
https://.ciamlogin.com//federation/oauth2
https://.ciamlogin.com//federation/oauth2
https://.ciamlogin.com//federation/oauth2
Select Next, and then select Done.
When the pop-up window is closed, select Continue, and then select Save.
Create an Apple client secret
From the Apple Developer portal menu, select Keys, and then select (+).
To Register a New Key:
Type a Key Name.
Select Sign in with Apple, and then select Configure.
For the Primary App ID, select the app you created previously, and then select Save.
Select Continue, and then select Register to finish the key registration process.
Take note of the Key ID. This key is required when you configure the identity provider.
To Download Your Key, select Download to download the .p8 file that contains your key.
Select Done.
Configure Apple federation in Microsoft Entra External ID
After you create the Apple app, in this step you set the Apple app details in Microsoft Entra External ID. You can use the Microsoft Entra admin center to do so. To configure Apple federation in the Microsoft Entra admin center, follow these steps:
Sign in to the Microsoft Entra admin center.
Browse to Entra ID > External Identities > All identity providers.
Under the Built-in tab, select Apple.
The Name Apple is autopopulated. It cannot be changed.
Enter the following details:
Client (Apple service) ID: The client ID of the Apple application you created in the previous step.
Apple developer team ID: The Apple developer team ID related to the Apple application you created in the previous step.
Key ID: The key ID of the Apple application you created in the previous step.
Client secret (.p8) key: The client secret key of the Apple application you created in the previous step.
Select Save. You’ll see Apple listed as a configured identity provider.
Add Apple identity provider to a user flow
At this point, the Apple identity provider has been set up in your Microsoft Entra External ID, but it's not yet available in any of the sign-in pages. To add the Apple identity provider to a user flow:
In your customer tenant, browse to Entra ID > External Identities > User flows.
Select the user flow where you want to add the Apple identity provider.
Under Settings, select Identity providers.
Under Other Identity Providers, select Apple.
Select Save.
❌ The Issue
After completing all steps, Apple still fails during sign-in, while the other providers work correctly.
The error message I receive is:
"invalid_request invalid web redirect url"
Request for Help
I'm unsure where the misconfiguration may lie — whether it's with:
The Return URLs entered in the Apple Developer portal,
The Client ID or other fields in the Entra portal,
Or something else I’ve overlooked.
If anyone has successfully configured Apple ID federation with Azure Entra External ID (B2C) and encountered this error, I'd really appreciate any insights or suggestions.
Thank you!
Our app uses Sign in with Apple. In recent weeks (or months), we've noticed that emails sent to @privaterelay.appleid.com addresses are not being delivered.
We're not receiving any bouncebacks or error messages from the mail server, but the emails never reach the user's mailbox. We've also checked spam folders, with no luck.
We have verified that our Email Sources are configured correctly in Apple Developer settings.
Is there any way to debug or trace what might be happening with these messages?
Thanks in advance!
Hi! I'm trying to add Sign in with Apple to my macOS app. I enabled this capability from the developer portal and created the corresponding certificate & provisioning profile (both of type Developer ID Application.) However, Xcode keeps prompting me that the profile doesn't support Sign in with Apple.
If I enable Automatically manage signing from Xcode, I can build and run the app but not distribute. If I turn it off and use the profile I got, it just keeps showing the errors below and doesn't even let me build.
Topic:
Privacy & Security
SubTopic:
Sign in with Apple
Tags:
Provisioning Profiles
Sign in with Apple
Signing Certificates
We implemented a feature to receive name and email address after Sign in with Apple, and it works perfectly in our testing.
However, during the app review, they says it doesn't work, and the app is rejected.
Why does it work differently?
Hi Community,
We've implemented Sign In with Apple in our application. Our domains are properly registered in the developer console, but we're experiencing inconsistent email functionality with Apple's privacy email service.
Some domains work correctly while others show delivery problems, even though all domains have identical configurations. Apple's console displays green verification status for all domains, yet testing reveals that emails to privacy-protected accounts don't arrive as expected.
We're using SendGrid as our email service provider, and all domains have valid authentication records (SPF, DKIM, DMARC) in place.
Has anyone encountered similar inconsistencies with Apple's privacy email service? Would appreciate any configuration tips or troubleshooting guidance.
Thanks.
Dear Apple Developer Technical Support,
We are currently following the official Apple documentation “TN3159: Migrating Sign in with Apple users for an app transfer” to carry out a Sign in with Apple user migration after successfully transferring several apps to a new developer account.
Here is a summary of our situation:
Under the original Apple developer account, we had five apps using Sign in with Apple, grouped under a shared primary app using App Grouping.
Recently, we transferred three of these apps to our new Apple developer account via App Store Connect.
After the transfer, these three apps are no longer associated with the original primary App ID. We reconfigured individual Services IDs for each app in the new account and enabled Sign in with Apple for each.
More than 24 hours have passed since the app transfer was completed.
Now we are attempting to follow the migration process to restore user access via the user.migration flow. Specifically, we are using the following script to request an Apple access token:
url = "https://appleid.apple.com/auth/token"
headers = {"Content-Type": "application/x-www-form-urlencoded"}
data = {
"grant_type": "client_credentials",
"scope": "user.migration",
"client_id": "com.game.friends.ios.toptop.sea", # New Services ID in the new account
"client_secret": "<JWT signed with new p8 key>"
}
response = requests.post(url, headers=headers, data=data)
However, the API response consistently returns:
{
"error": "invalid_client"
}
We have verified that the following configurations are correct:
The client_secret is generated using the p8 key from the new account, signed with ES256 and correct key_id, team_id, and client_id.
The client_id corresponds to the Services ID created in the new account and properly associated with the migrated app.
The scope is set to user.migration.
The JWT payload contains correct iss, sub, and aud values as per Apple documentation.
The app has been fully transferred and reconfigured more than 24 hours ago.
Problem Summary & Request for Support:
According to Apple’s official documentation:
“After an app is transferred, Apple updates the Sign in with Apple configuration in the background. This can take up to 24 hours. During this time, attempts to authenticate users or validate tokens may fail.”
However, we are still consistently receiving invalid_client errors after the 24-hour waiting period. We suspect one of the following issues:
The transferred apps may still be partially associated with the original App Grouping or primary App ID.
Some Sign in with Apple configuration in Apple’s backend may not have been fully updated after the transfer.
Or the Services ID is not yet fully operational for the transferred apps in the new account.
We kindly request your assistance to:
Verify whether the transferred apps have been completely detached from the original App Grouping and primary App ID.
Confirm whether the new Services IDs under the new account are fully functional and eligible for Sign in with Apple with user.migration scope.
Help identify any remaining configuration or migration issues that may cause the invalid_client error.
If necessary, assist in manually ungrouping or clearing any residual App Grouping relationships affecting the new environment.
We have also generated and retained the original transfer_sub identifiers and are fully prepared to complete the sub mapping once the user.migration flow becomes functional.
Thank you very much for your time and support!
Topic:
Privacy & Security
SubTopic:
Sign in with Apple
Tags:
Sign in with Apple REST API
Sign in with Apple
Hi Apple Developer Support,
We are implementing Sign in with Apple for our web application hosted on example.com.
In the Service ID settings, we have configured the following:
Service ID (client_id):
com.example.service.local
Web Domain:
example.com
Return URL:
https://2db2-121-160-153-88.ngrok-free.app/login/oauth2/code/apple
We also tested login via the following URL from our web application:
https://appleid.apple.com/auth/authorize?response_mode=form_post&response_type=code&client_id=com.example.service.local&scope=name%20email&state=2f9gMY1rTe12-O7Wbnb7KWe504HQ0KWBSHTKHbg9ZEY=&redirect_uri=https://2db2-121-160-153-88.ngrok-free.app/login/oauth2/code/apple
However, we’re receiving an invalid_client error after submission.
Our questions:
Is it valid to use an ngrok URL like https://2db2-121-160-153-88.ngrok-free.app/... as the Return URL for development and testing?
Does the Web Domain need to match the ngrok domain, or is it enough to register the production domain (e.g., example.com)?
Is there any propagation delay or approval process after updating the Return URL in the Service ID?
Is the client_id strictly required to match the Service ID exactly?
We would greatly appreciate any insights or best practices to help us resolve this issue.
Thank you in advance!
Topic:
Privacy & Security
SubTopic:
Sign in with Apple
Tags:
Sign in with Apple REST API
Sign in with Apple
Problem
I’m trying to implement Sign in with Apple in my application. However, when my app redirects to the Apple authorization page at:
https://appleid.apple.com/auth/authorize
I get an invalid_client error with no further explanation.
Settings
I followed this article closely:
[https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple#generate-the-client-secret]
Steps I have completed:
Created an App ID and a Service ID on Apple Developer Portal.
Enabled “Sign in with Apple” for both the App ID and the Service ID.
Added my domain and callback URL to the Service ID configuration. (I'm using ngrok to proxy my localhost during development.)
Linked an existing private key with “Sign in with Apple” capability.
My identifiers:
Service ID is used as client_id
Team ID is taken from the top right of the Apple Developer dashboard
Key ID is from the private key associated with the App
Environment
My backend is built with Laravel, and I'm using the [SocialiteProvider/Apple][https://socialiteproviders.com/Apple/#installation-basic-usage] library to handle the OAuth flow.
I followed the recommended method to generate a client secret (JWT) for each request, using this blog post:
[https://bannister.me/blog/generating-a-client-secret-for-sign-in-with-apple-on-each-request]
My .env configuration looks like this:
APPLE_CLIENT_ID=com.service.paxton.stockApp
APPLE_TEAM_ID=25729642DK
APPLE_KEY_ID=JFP9Q53ZCY
APPLE_PRIVATE_KEY=storage/AppleDev-AuthKey_JFP9Q53ZCY.p8
JWT Generation
I also tested generating the JWT using the Ruby script from the Okta article:
[https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple#generate-the-client-secret]
Here is the script I used:
require 'jwt'
key_file = './storage/AppleDev-AuthKey_JFP9Q53ZCY.p8'
team_id = '25729642DK'
client_id = 'com.service.paxton.stockObserve'
key_id = 'JFP9Q53ZCY'
ecdsa_key = OpenSSL::PKey::EC.new IO.read key_file
headers = {
'kid' => key_id
}
claims = {
'iss' => team_id,
'iat' => Time.now.to_i,
'exp' => Time.now.to_i + 86400*180,
'aud' => 'https://appleid.apple.com',
'sub' => client_id,
}
token = JWT.encode claims, ecdsa_key, 'ES256', headers
puts token
This JWT validates correctly. I’ve also used Apple’s public key to verify the signature, and it passed.
I verified the JWT header and payload format using this helpful article:
[https://fluffy.es/how-to-solve-invalid_client-error-in-sign-in-with-apple/]
Third-Party Testing
To eliminate mistakes in my setup, I even tried a third-party tool featured in this YouTube video:
[https://youtu.be/8v01TaX1EJA?si=0jOBGBVk0R0zbmdo]
Unfortunately, the result was the same — invalid_client.
Question
I’ve double-checked everything I can think of: keys, claims, domain whitelist, identifiers. I even verified the JWT independently.
If anyone (especially someone from Apple) can help identify the missing piece, I would be truly grateful.
On Wednesday, June 18, 2025, Sign in with Apple was impacted by a configuration issue which affected some developer accounts that created new app or Services ID configurations, or edited existing configurations, resulting in the following errors:
invalid_client response error returned by the authentication, token validation/revocation, and user migration requests
"Sign Up Not Completed" (or equivalent) error presented from the Authentication Services framework.
On Monday, June 23, 2025, this issue was resolved. Please retry the Sign in with Apple flows in your Sign in with Apple enabled apps and websites to confirm your developer account configuration has been fixed.
Please let us know if you can still reproduce this issue with your developer account. If so, follow the steps outlined in the post below:
Gathering required information for troubleshooting Sign in with Apple authorization and token requests
https://developer.apple.com/forums/thread/762831
Finally, reply (not comment) with your Feedback ID on either of the posts below:
https://developer.apple.com/forums/thread/789011
https://developer.apple.com/forums/thread/789132
Cheers,
Paris X Pinkney | WWDR | DTS Engineer
Topic:
Privacy & Security
SubTopic:
Sign in with Apple
Tags:
Sign in with Apple REST API
Sign in with Apple
Sign in with Apple JS
On Thursday, June 12, 2025, Sign in with Apple was impacted by an incorrect subdomain defined in its /.well-known/openid-configuration file. The JSON returned incorrectly provided https://account.apple.com instead of the expected https://appleid.apple.com.
For Sign in with Apple, the value for the issuer (iss) claim in the user's identity token is https://appleid.apple.com. Additionally, if your clients use the Sign in with Apple REST API, the following endpoints should be used for each request:
https://appleid.apple.com/auth/authorize
https://appleid.apple.com/auth/token
https://appleid.apple.com/auth/revoke
https://appleid.apple.com/auth/keys
This issue with the /.well-known/openid-configuration file was resolved the same day. Use the URL below to confirm the expected subdomain is provided, as needed:
https://appleid.apple.com/.well-known/openid-configuration
Cheers,
Paris X Pinkney | WWDR | DTS Engineer
Topic:
Privacy & Security
SubTopic:
Sign in with Apple
Tags:
Sign in with Apple REST API
Sign in with Apple
Sign in with Apple JS
I am having trouble with one of my apps that will not let me log in via Apple Sign In. I am using Firebase and Firebase UI for the sign in process. I have many other apps with the same exact config that currently work just fine, but this one I have gone as far as completely deleting the targets and rebuilding and it will not return from the login screen
I checked the following:
Sign in with Apple ID Capability is available in XCode and on the dev certificate on developer.apple.com
I have also toggled both of them on and off.
I have double checked the config in Firebase to turn on the Apple Login identifier. Again I have toggle it on and off.
I have cleaned the project multiple times to no avail.
I have logged out and back into my developer account in XCode.
It seams like after I put in the correct password to log in, it just never returns to the app, there is no logging. I do get a notified(shaking input box) if I put in an incorrect password, but when I put in the correct one, the login window never dismisses and my app is not notified.
I checked the Console and the last message from akd on a working app is:
Notifying client (bundle) of credential state change 1.
Remote view sent a finish event
On the one not working, using the same user and password akd returns:
SRP authentication with server failed! Error: Error Domain=com.apple.AppleIDAuthSupport Code=2 "M2 missing (bad password)
I have 100% verified I am putting in the correct user password. I was only notified of this issue because Policy is having the same issue logging in during App Review. Also, if I put in a bad password the input window shakes and when this is happening, the input window is not shaking
Hello.
I have issue with implementing "Sign in with Apple" on my website.
As folow, I have created:
App ID identifier: com.livnobus.app (G2F5N5UHYZ)
Service ID identifier: com.livnobus.client (B25ZN8P84U) with option enabled "Sign in with Apple" and configuration (Primary App ID and Webiste URLs)
Key ID: 43N8XKUW7S with option enabled "Sign in with Apple" and configuration (Primary App ID and Grouped App Ids)
When I click "Sign in with Apple" on my website (https://dev.livnobus.com/auth/login), system redirect me to https://appleid.apple.com/ and error show "invalid_client".
Redirect URL on my web site is:
https://appleid.apple.com/auth/authorize?client_id=com.livnobus.client&redirect_uri=https%3A%2F%2Fdev.livnobus.com%2Fauth%2Fapple%2Fcallback&scope=name%20email&response_type=code&response_mode=form_post&state=eGAgdpLrvskJc26RbTizc9TGwxnL6KAEJOf68pmO&nonce=e7c7a242-1977-47ea-9013-98820c24bfba.eGAgdpLrvskJc26RbTizc9TGwxnL6KAEJOf68pmO
There was old Service ID identifier com.livnobus.app-client, for which I lost private KEY, so I have created new one: com.livnobus.client
With old Service ID com.livnobus.app-client, https://appleid.apple.com/ shows me Apple form for sign in, but with new Service ID com.livnobus.client there is error "invalid_client"
https://appleid.apple.com/auth/authorize?client_id=com.livnobus.app-client&redirect_uri=https%3A%2F%2Fdev.livnobus.com%2Fauth%2Fapple%2Fcallback&scope=name%20email&response_type=code&response_mode=form_post&state=eGAgdpLrvskJc26RbTizc9TGwxnL6KAEJOf68pmO&nonce=e7c7a242-1977-47ea-9013-98820c24bfba.eGAgdpLrvskJc26RbTizc9TGwxnL6KAEJOf68pmO
These changes I have made last Friday, and since then I can't use "Sign in with Apple" on my website.
Thanks!
We're integrating Sign in with Apple into our iOS app using both SwiftUI and UIKit.
The Apple ID login UI appears correctly on real devices, but after tapping Continue, the system immediately stops and shows code 1001.
This issue happens across multiple devices and Apple ID accounts, even with no prior login history.
We’ve confirmed the following:
Sign in with Apple is enabled in both Developer Portal and Xcode Capabilities
Automatic signing and provisioning are set correctly
Device is signed into iCloud and system time is synced
Performed clean build, app reinstall, and other standard debugging steps
We suspect that the sign-in process may not be completing properly due to some kind of account or server-side restriction, and we’d appreciate any insights into this behavior.
Hi, I've been developing an app with a server. I'm hosting the server on an IPv6-ONLY network that's hidden behind the CloudFlare, so it works flawlessly from the clients point of view, but if server needs to access external resources, they need to be accessible over IPv6. As it turns out, appleid.apple.com doesn't support IPv6, and the Sign In with Apple happens with the help of my server.
So, I can't sign users in as Apple doesn't support IPv6 traffic on appleid.apple.com. Are there any plans to support IPv6 in the near future, or should I work on the networking setup to enable IPv4 just for the Apple SSO? Or maybe there's a clever workaround I'm missing?
Topic:
Privacy & Security
SubTopic:
Sign in with Apple
Tags:
Sign in with Apple REST API
Sign in with Apple
Hey there, im getting Sign up not complete! even with the official template
https://developer.apple.com/documentation/authenticationservices/implementing-user-authentication-with-sign-in-with-apple
my developer account is recently renewed, which it has expired for a bit
i am using automatic managed signing
I have a feel something went wrong my apple developer account id,
and also this cause me getting invalid client when sign in with app on web app.
Hi,
I have setup Apple SignIn on a platform i am developing and configure all the required Service IDs and redirect URLs.
The integration worked up until I moved the platform to a new domain name last friday. I have reconfigured the list of allowed domains and redirect urls to the new domain name, and removed all the mentions of the former one. Since then, when trying to Sign In with Apple, I am greated with the following error : " invalid_request - Invalid web redirect url".
I have also observed that if i manually change the domain name in the redirect_uri parameter but keep the rest of the OAuth URL identical, the error disappears. This should not be possible since the former domain name has been completely removed from the Service ID configuration.
Is there a propagation time for this ? And if so, it seems very long (5 days and pending).
I have checked and rechecked and tripled checked my configuration, every time by going in my dev account > Identifiers > Service IDs > Sign In with Apple > Configure, then clicking Done > Continue > Save.
I can confirm that :
the redirect domains and URLs there are correct, and no mention of the former domain name is present
I can still login using the former domain redirect urls (so my implementation is valid, but the configuration is not up to date)
the new redirect urls are still not working as of now
https is included in the redirect_urls, no trailing slash is present. again, the same URLs but with a different domain name were configured and worked (if anything, still work) properly
TLS 1.3 connection (i know 1.2 is a requirement)
Any advice would be welcome
Topic:
Developer Tools & Services
SubTopic:
Apple Developer Program
Tags:
Sign in with Apple
Sign in with Apple JS
Since a few days, we are hitting AuthorizationError 1000 / 1001 whenever we try to use Sign in with Apple for a new app. We have added entitlements to the app in both release and debug, and setup the services id.
Many other devs are complaining about the same issue lately, and it's possible to reproduce on a fresh app id, see this thread:
https://www.reddit.com/r/flutterhelp/comments/1lf6kmq/sign_in_with_apple_signup_not_completed