#sign in with apple

15 messages · Page 1 of 1 (latest)

dark junco
#

just a qq based on docs for adding oauth, for info.plist do i have to change anything like the uri?

#

<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>io.appwrite</string>
<key>CFBundleURLSchemes</key>
<array>
<string>appwrite-callback-<PROJECT_ID></string>
</array>
</dict>
</array>

full spire
dark junco
#

@full spire how about the redirect url on success?

                    try await appwriteClient.account.createOAuth2Session(provider: .apple,)
#

could we use createOAuth2Token?

dark junco
#

what goes in the bundleurlname?

dark junco
#

Issue here when it goes to safari, in app it shows everything correctly

full spire
dark junco
#

did that

#

When i open app and tap with sign on button shows everything correctly but once it opens the browser dnt know why it doesnt show the app name

#

this is my plist

#

no worries I resolved it

#

I will make a entire document guide on this

#

it was the service id that i had to use in appwrite console under bundleid