You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

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 Top-ranking 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 Top-ranking 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 Account.