Posts

Post not yet marked as solved
0 Replies
5.7k Views
Hi Apple,I am attempting to get Sign in with Apple working in the Unity editor. I intend to use Unity's REST functions to facilitate this. I have found an article (linked below) that describes "Incorporating Sign in with Apple into Other Platforms". I need to either generate or find my program's client_id. The article says "client_id: (Required) The developer’s client identifier, as provided by WWDR.". I not understand what WWDR is or how I can use it to get my client_id, I would love your help on this.https://developer.apple.com/documentation/signinwithapplejs/incorporating_sign_in_with_apple_into_other_platformsThere don't seem to be any community guides on how to function as another platform, but there are some on building a web app. To function as a web app all the guides say that I need to create a Service ID. To add Sign in with Apple functionality to that ID I need to give it a web domain that will use Sign in with Apple. I am trying to build a Unity app, so this mandatory field seems strange to me, I am not sure what I ought to put there.Even if I got my client id from WWDR, I would need a valid redirect uri. The article does not state how to set one of these. The only place that I have found to do so is in creating a Service ID. But if a Service ID is needed, it would also contain a client id, removing the need to use a WWDR. This all has led to me being quite confused. Could you please give me some pointers here, either about how to get / use WWDR or what the web domain field on Service ID's is supposed to mean if my application is not a web app? It would be really appreciated.Thanks.
Posted
by Phedg1.
Last updated
.
Post not yet marked as solved
0 Replies
915 Views
I want to implement Sign in with Apple in my Unity app. The goal is not just to have it running on iOS, but also on Android and in the Unity editor using the REST API. Apple has a very breif article suggesting that is possible on other platforms: https://developer.apple.com/documentation/signinwithapplejs/incorporating_sign_in_with_apple_into_other_platforms . Before I can begin coding that I have to set up the client_id and redirect_uri in the Apple developer console. The article says this can be achieved with WWDR. "client_id(Required) The developer’s client identifier, as provided by WWDR.". However, every search I have done has only shown guides to implement Sign in with Apple as a web client. This requires creating a Service ID with Sign in with Apple. That requires that I have a web domain that has the file apple-app-site-association in the root of the domain or subdomain. This is the crux of the issue. Because I am not building a web app I do not have a domain where I can host this file. I do have a developer website to host my privacy policy, but it is on the free website builder Wix. Wix does not allow certain file types, it also does not allow you to put files in the root. Other free website builders seem to have the same limitation. This also rules out file hosting sites, like Google drive, because your drives are a page on the domain, not their own domain.I'm not sure what the solution is here. I'm not sure if I need a Service ID for my use case, but I can't find any references to the alternative. If I do need one, I'm not sure how best to host this file without spending money on something that feels like it should be irrelevant to my use case. I could really use some pointers.
Posted
by Phedg1.
Last updated
.