I’m having a difficult time getting sign with apple to work with Realm. I followed the guide but I guess I’m still a bit confused:
Why do I need a serviceID if my app is only running on iPhone? Is that required if I have a website?
Same question applies to universal links. When I fetch the identityToken from the apple server, I can just make a call to Credentials.apple(token) and wait for a response? Why would I need my own backend and a universal link?
My main issue with the guide is that upon generating a jwt per step 4 of the guide (https://docs.mongodb.com/realm/authentication/apple/), I create a secret in Realm under values but it’s complaining about the length of the secret value: clientSecret length should be less than or equal to 500
Have many characters is the script generating? I remember an issue where there was a garbage character at the end and I just had to delete those characters and it worked.
I figured I don’t need them if I handle the binding logic in the client. Basically, follow the Sign In With Apple tutorial provided by Apple (ignore Realm’s sample code for this part). Once you get the token back, feed it to realm’s sign in with Apple function.
I can provide more specifics next week if you are interested, as I don’t have my laptop with me right now.
Yes – unless I’m missing something. I posted the code above.
First, I generate the token using Sign in with Apple, then I feed it to Realm and I’m assuming that Realm does the verification and talks to the Apple servers for that. Once that process is done, I receive a response and log my user in.
Hello, I’m trying to figure out how to make a services ID for an iOS App. you cannot leave the fields empty anymore. What can I do for the domain and return url?