EnsembleUI / ensemble

Build native apps 20x faster than Flutter, RN or any other tech
https://ensembleui.com/
BSD 3-Clause "New" or "Revised" License
125 stars 15 forks source link

Enable Sign in with Apple on Android/Web #649

Open vusters opened 1 year ago

vusters commented 1 year ago

We use https://pub.dev/packages/sign_in_with_apple this package. iOS currently works but Web/Android needs additional configurations.

See SignInWithApple widget that we have.

vinothvino42 commented 1 year ago

@vusters You added one comment in the SignInWithApple widget. But the config related to Android and Web is not specific to that widget. In web we need to add one script in the index.html and few changes in the Android manifest for Android. That's all right? This is what it shown in the README

vusters commented 1 year ago

@vinothvino42 please follow the package's README to add Android/Web.

vinothvino42 commented 1 year ago

@vusters I checked it. There are a few things that need to be done in the Apple developer console and also on our server.

I don't have the privilege to modify or configure sign-in with apple with my account

  1. Create a Service ID (We already have that)
  2. But the service is not configured with Sign in with Apple. (Like adding domains, subdomains, Return URLs, etc)
  3. In order to communicate with Apple's servers to verify the incoming authorization codes from your app clients, you need to create a key at https://developer.apple.com/account/resources/authkeys/list
  4. Then we need to setup few things in our server (https://pub.dev/packages/sign_in_with_apple#server)

https://pub.dev/packages/sign_in_with_apple