Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27139] Apple Sign-In as new ArrowDB Social Integration

GitHub Issuen/a
TypeNew Feature
Priorityn/a
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
LabelsArrowDB
ReporterJoseph Sachs
AssigneeAbir Mukherjee
Created2019-06-05T11:08:04.000+0000
Updated2019-10-04T17:04:39.000+0000

Description

iOS 13 just announced “Sign in with Apple”, this is Mandatory when having Social Logins. ArrowDB has Social Integrations already for Twitter, LinkedIn, Facebook, etc; would it also work for Sign in with Apple? It would be mandatory for Apps being approved on the App Stores as of next year.

Comments

  1. Sharif AbuDarda 2019-06-06

    Hello [~underlabs], Thanks for the feature request. Can you please share the native docs on how this is handled in there? Our engineers will look into it. Thanks.
  2. Joseph Sachs 2019-06-06

    This is what I found: https://developer.apple.com/sign-in-with-apple/get-started/ https://help.apple.com/developer-account/#/devde676e696 https://developer.apple.com/documentation/authenticationservices https://developer.apple.com/documentation/signinwithapplerestapi
  3. Joseph Sachs 2019-09-07

    *UPDATE:* @hans & @sgtcoolguy have already developed a module for iOS Titanium Apps to Sign-in with Apple, and naturally the call back provides an identityToken:
       var AppleSignIn = require('ti.applesignin');
       
       AppleSignIn.addEventListener('login', function (event) {
         if (!event.success) {
           alert(event.error);
           return;
         }
       
         Ti.API.warn(event); // identityToken part of the params
       });
       
    Similarly to how we send back to [ArrowDB for SocialLogins](https://docs.appcelerator.com/arrowdb/latest/#!/api/SocialIntegrations-method-external_account_link) the token call back, I assume we would provide the [identityToken](https://github.com/appcelerator-modules/titanium-apple-sign-in/blob/3074998c78b6435f71d6752f892ebaf595877512/apidoc/Applesignin.yml#L201) _or authorizationCode_ for Login with Apple.
  4. Joseph Sachs 2019-10-04

    Apple has made it obligatory to have this feature by April 2020.

JSON Source