Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature: "Native" Sign In with Apple #2611

Closed
2 tasks done
Lucke0051 opened this issue Jan 15, 2022 · 9 comments
Closed
2 tasks done

馃殌 Feature: "Native" Sign In with Apple #2611

Lucke0051 opened this issue Jan 15, 2022 · 9 comments
Labels
backlog Issues waiting in the backlog product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services.
Projects

Comments

@Lucke0051
Copy link

馃敄 Feature description

Currently the Sign In with Apple implementation requires the user to firstly click accept on the prompt to "APPNAME wants to sign in with APP.com", then a blank browser window pops up and shortly after the Sign In prompt shows. This is not a nice user experience.

Instead the Sign In with Apple prompt should open right away when called (button pressed usually) on Apple devices that support it. See Flutter package sign_in_with_apple. This would provide a much nicer sign in flow. The "native" prompt also shows the app's icon and name without any configuration. I can implement this in the Flutter client SDK but I am not a backend PHP developer.

Current "flow":
1st step

2nd step

3rd step

"Native":
native

馃帳 Pitch

As Apple requires developers to provide Sign In with Apple functionality if they have other third-party auth providers. This means that it's likely many people that will be positively affected by this change. 3 prompts to get to the sign in dialog is not ideal.

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@eldadfux
Copy link
Member

Hey @Lucke0051, thanks for submitting this issue. We have been looking at this PR which wasn't completed as a potential solutions: #903. The idea behind it is to allow devs to use native OAuth SDKs for better UX.

We intentionally avoided coupling any of the Appwrite SDKs with 3rd party OAuth integrations. Today we have around 25 OAuth providers and 4 client SDKs. This can result in maintaining ~100 different integration, most of them probably not well maintained. This will also explosively increase the size of the SDKs and will force dependencies that will never be used in many cases.

We're still very open to continue the solution started at #903, if the community picks it up, we can also prioritize it.

@eldadfux eldadfux added product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services. backlog Issues waiting in the backlog labels Jan 15, 2022
@SirusCodes
Copy link

Is there any progress?

@KhaleelSH
Copy link

Any news here?

@zandercodes
Copy link

In one of the first versions of AppWrite it was possible to validate the login using Apple's indentityToken.
But this was removed in AppWrite. So the native login on the device is only possible via very complicated detours, which does not have to be.

@DorianMartinez
Copy link

Is this really ever going to be addressed? The user experience with the current implementation is subpar and far from what Apple users expect.

@cd711
Copy link

cd711 commented Mar 7, 2023

can I implement with functions self?

@zandercodes
Copy link

can I implement with functions self?

I don't know, try it

@stnguyen90
Copy link
Contributor

I'm pretty sure native login should work now using custom tokens.

@SirusCodes
Copy link

SirusCodes commented Mar 15, 2024

I'm pretty sure native login should work now using custom tokens.

Thanks, this will surely work but it's again a bit of a hassle, as the dev will need to write code for verifying the tokens and implement a function just for this. I was kind of expectating a much easier way to do it like -

account.createGoogleAccountUsingToken which will do all that for me

@hapsai
Copy link

hapsai commented Apr 5, 2024

I'd just like to add a "me too" to this request. I'll try the custom token solution mentioned above - but being able to authenticate an apple user in an apple app without having to launch a web browser seems like a "must have" capability to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Issues waiting in the backlog product / auth Fixes and upgrades for the Appwrite Auth / Users / Teams services.
Projects
Status: Done
Backlog
  
Awaiting triage
Development

No branches or pull requests

10 participants