Apple Developer Program

RSS for tag

Create and deliver software for users around the world on Apple platforms using the the tools, resources, and support included with Apple Developer Program membership.

Apple Developer Program Documentation

Posts under Apple Developer Program subtopic

Post

Replies

Boosts

Views

Activity

Sign in with apple get invalid_client error
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.
2
3
262
Jun ’25
Confirmation on the Use of MDM Vendor CSR Certificates in On-Premises MDM Solutions
We are developing an MDM solution. In addition to the cloud-based version, we are also developing an on-premises version of the MDM solution for organizations such as government agencies and other entities for whom using public cloud services is difficult. In such cases, regarding the "MDM vendor CSR certificate" to be included in the on-premises package: Would it be acceptable to use a certificate owned by our company (the MDM vendor)? Or would it be necessary for the client organization to prepare a new certificate themselves?
2
0
103
Jun ’25
Program enrollment long time span
Hello Support Team! Hello devs! Please do not put me in some kind of shadowban if there is. I enrolled into the program for more than twice longer ago than program claims to be processed within. And still have no answer for my support request. Status just stays “pending“. I understand Support Team high load and respect them for their work but at the same time I see a lot of posts with unresolved issues like mine now. Thank you for your help and time!
2
0
289
Feb ’25
who can help me?
Why is it so hard to register a developer account in China? As an iOS developer for 12 years, why is it so hard for me to register a developer account in China? Can Apple improve your service? If there is something wrong with me, I'm willing to accept the penalty of not being able to register. But I submitted all the information you need and then you tell me I can't register. I also just bought a new Macbook Air 2 months ago and I'm willing to contribute my income to you guys. But how are you treating me? Who can help me? Translated with DeepL.com (free version)
1
0
125
Mar ’25
Our developer account is unable to renew through the https://developer.apple.com
Hello, Our developer account is unable to renew through the https://developer.apple.com/account website. The account will expire in 8 days. When clicking the "Renew Membership" button to proceed to the order details page, I filled in the required personal information and electronic invoice details as instructed. However, after clicking the "Continue to Payment Method" button, the website became unresponsive. By checking the console logs, I noticed a 500 error occurred on the website. Since we specifically require an electronic invoice, the Developer app cannot meet our needs. The account is nearing expiration. Could you please assist us by temporarily extending the account's expiration date? Your support would be greatly appreciated. Thank you.
1
0
137
May ’25
Stuck on "Purchase your membership" After Payment - Over 1 week
Hi everyone, I'm having an issue completing my Apple Developer Program enrollment. After submitting payment, I keep seeing the message: “Purchase your membership. To continue your enrollment, complete your purchase now. Your purchase may take up to 48 hours to process.” It’s been over 1 week, and this message hasn’t changed. I’ve already made the purchase twice. I’ve tried: • Logging out and back into my Apple ID • Using different browsers • Waiting patiently as instructed (well beyond 48 hours) Still, I can't proceed or access my developer account. This is blocking my app release, and I haven’t been able to get a clear response from the portal. Has anyone else experienced this? How can I escalate this to get it resolved? Thanks in advance for any help.
1
0
98
May ’25
Support when publishing App Store App.
I am a new app developer and am entirely new to the process of developing and publishing an app. Right now I am in the midst of publishing my app and have bumped into an issue which app store connect isn't really helping to answer. I was wondering if I could get help here for these issues. Have a countdown feature that works based on device id. The device id and all others go through but the countdown feature doesn't show up. This is an issue that only seems to occur on the App Review's ipad air (5th gen) iPadOS 18.5. I have tested the app on my iphone 14,ipad mini and ipad pro with no issues. I'm not sure how I am supposed to solve an issue which I am unable to recreate. (I have told Apple Review to try reloading the page or resubmitting the dates required for the countdown. They claimed to have resubmitted the dates but have mentioned nothing about reloading the page.) Currently, I am trying to find a way to work the app on the ipad air but if i am unable to recreate the issue,I'm not sure how to solve it. please help!
1
0
81
May ’25
The Issue I’m Facing with the Company’s Developer Account
I work as a mobile developer at the company I recently joined. The department that worked before me set up a developer account for the company. Later, this department parted ways with the company. Now, I want to access the developer account set up under the company’s name. However, I cannot access the account information or reach out to the former employees. How can I get this information, or how can I reset the passwords? I would appreciate help from anyone with experience and knowledge on this matter. Thank you in advance.
1
0
319
Feb ’25
Issue with Apple Developer Enrollment – Stuck in "Processing"
Hello everyone, I need help with my Apple Developer Program enrollment, as I have been stuck in the processing stage since February 20 and I don’t know what else to do. When I initially tried to enroll, I was told that the process would take two business days, but it has been much longer now. Every two days, I have attempted to purchase again, but I always receive the same message telling me to wait another two days. I have checked my payment method, verified my Apple ID information, and followed all the recommended steps, but I still cannot complete the enrollment. Has anyone else experienced this issue? What can I do to resolve it? I would appreciate any advice or guidance. Thank you in advance for your help! Best regards, Didier Orjuela
1
0
292
Feb ’25