Apple’s Worldwide Developers Conference to kick off June 10 at 10 a.m. PDT with Keynote address

The Keynote will be available to stream on apple.com, the Apple Developer app, the Apple TV app, and the Apple YouTube channel. On-demand playback will be available after the conclusion of the stream.

Developer Forums relocated!

Need help with Apple Developer tools and technologies? Want to share information with other developers and Apple engineers? Visit Developer Forums at Apple.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Adding Sign In With Apple To An Existing Project

I am attempting to add the SIWA feature in order to get approved for the AppStore. Up until now the process has been fairly repetitive (Twitter, Discord, Google), however, Apple is doing Apple and I am getting an error page when attempting to SIWA.


Things I’ve Tried:

Adding the Team and Key IDs Adding SIWA to my current Identifiers in Apple Developer portal Adding SIWA “Capabilities” in the XCode IDE for the project, thus Revoking and reinitializing the

Provisioning Profile Verified dev tenant


Hunches:

There are many tutorials that mention adding a “Service Id” for SIWA on the Apple Developer portal, however because I have already registered the apps reverse url for other Identities Apple gives me an error that the Identifier has already been used.



iPhone SE, iOS 16

Posted on Feb 24, 2023 4:47 PM

Reply
Question marked as Best reply

Posted on Feb 26, 2023 2:57 PM

Solved.


This, ****


So, we were using an old private key. We needed to revoke the current one because it was lost, then make a new one with the same sub group as the Service ID, following the typical configuration steps outlined in Okta developer documentation, here, https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple


[Personal Information Edited by Moderator]

3 replies
Question marked as Best reply

Feb 26, 2023 2:57 PM in response to AppleDeve

Solved.


This, ****


So, we were using an old private key. We needed to revoke the current one because it was lost, then make a new one with the same sub group as the Service ID, following the typical configuration steps outlined in Okta developer documentation, here, https://developer.okta.com/blog/2019/06/04/what-the-heck-is-sign-in-with-apple


[Personal Information Edited by Moderator]

Feb 26, 2023 2:21 PM in response to MrHoffman

Ok, so, instead of using the dev keys in accordance with Auth0, which is leaving the Application's Client Secret and Client ID fields empty, I entered them as though it were being used for production.


Now, there is an, "invalid client" error, after the login flow completes, which wasn't happening before. So, it seems the callbacks are going through, now it is about figuring out the invalid client error.

Adding Sign In With Apple To An Existing Project

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.