{"id":20727973,"url":"https://github.com/mobilehero-archive/titanium-applesignin","last_synced_at":"2025-07-04T23:06:32.822Z","repository":{"id":45137700,"uuid":"201337972","full_name":"mobilehero-archive/titanium-applesignin","owner":"mobilehero-archive","description":"⭐  Axway Amplify module that allows you to use the iOS 13+ Apple Sign In API with Appcelerator Titanium SDK","archived":false,"fork":false,"pushed_at":"2022-04-11T17:53:43.000Z","size":2888,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T19:49:22.601Z","etag":null,"topics":["api-builder","appcelerator","appcelerator-titanium","apple","axway","axway-sdk","brenton-house","ios","native","plugin","signin","titanium","titanium-alloy","titanium-mobile","titanium-module","titanium-sdk","turbo"],"latest_commit_sha":null,"homepage":"https://brenton.house/saying-goodbye-to-axway-amplify-titanium-31a44f3671de","language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mobilehero-archive.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-08T21:09:23.000Z","updated_at":"2022-01-10T19:54:49.000Z","dependencies_parsed_at":"2022-09-26T21:40:39.642Z","dependency_job_id":null,"html_url":"https://github.com/mobilehero-archive/titanium-applesignin","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/mobilehero-archive/titanium-applesignin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobilehero-archive%2Ftitanium-applesignin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobilehero-archive%2Ftitanium-applesignin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobilehero-archive%2Ftitanium-applesignin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobilehero-archive%2Ftitanium-applesignin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mobilehero-archive","download_url":"https://codeload.github.com/mobilehero-archive/titanium-applesignin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mobilehero-archive%2Ftitanium-applesignin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263632054,"owners_count":23491530,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-builder","appcelerator","appcelerator-titanium","apple","axway","axway-sdk","brenton-house","ios","native","plugin","signin","titanium","titanium-alloy","titanium-mobile","titanium-module","titanium-sdk","turbo"],"created_at":"2024-11-17T04:35:05.604Z","updated_at":"2025-07-04T23:06:32.802Z","avatar_url":"https://github.com/mobilehero-archive.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[//]: # (header-start)\n\n\u003ch1 align=\"center\"\u003e\n\t\u003ca href=\"https://blog.axway.com/mobile-apps/changes-to-application-development-services\"\u003e\n\t\tPreparing for end of Axway\n\t\u003c/a\u003e\t\n\u003c/h1\u003e\n\u003ch2 align=\"center\"\u003e\n\t👇 \u0026nbsp; support for Amplify Cloud and Mobile   \u0026nbsp; 👇\n\u003c/h2\u003e\t\n\n\u003ca href=\"https://brenton.house/saying-goodbye-to-axway-amplify-titanium-31a44f3671de\"\u003e\n\t\u003cp align=\"center\"\u003e\n\t\t\u003cimg src=\"https://cdn.secure-api.org/images/RIP-Axway-Amplify-Titanium.png\" alt=\"RIP Axway Amplify Titanium (2010 - 2022)\" width=\"80%\" /\u003e\n\t\u003c/p\u003e\n\u003c/a\u003e\t\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://blog.axway.com/mobile-apps/changes-to-application-development-services\"\u003e\n\t\t\t🪦 \u0026nbsp; RIP Axway Amplify Titanium (2010 - 2022)\n\t\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://blog.axway.com/mobile-apps/prepare-your-apps-for-appcelerator-end-of-support\"\u003e\n\t\t\t🪦 \u0026nbsp; RIP Axway Amplify Cloud Services (2012 - 2022)\n\t\u003c/a\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://blog.axway.com/mobile-apps/prepare-your-apps-for-appcelerator-end-of-support\"\u003e\n\t\t\t🪦 \u0026nbsp; RIP Axway Amplify Crash Analytics (2015 - 2022)\n\t\u003c/a\u003e\n\u003c/p\u003e\n\n\u003chr\u003e\n\u003ch4 align=\"center\"\u003e\n🛑 \u0026nbsp;\u0026nbsp; \u003ca href=\"https://blog.axway.com/mobile-apps/prepare-your-apps-for-appcelerator-end-of-support\"\u003eAxway support for Amplify products has ended\u003c/a\u003e for most products related to mobile and cloud. \n\u003c/h4\u003e\n\n\u003ch4 align=\"center\"\u003e\nA few of the open-source versions of Axway Amplify products will live on after \u003ca href=\"\"\u003eAxway Amplify End-of-Life\u003c/a\u003e (EOL) announcements.  However, all closed-source projects and most open-source projects are now dead.  \n\t\u003c/h4\u003e\n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n\u003e 👉 \u0026nbsp;\u0026nbsp; A group of Axway employees, ex-Axway employees, and some developers from Titanium community have created a legal org and now officially decide all matters related to future of these products.  \n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003chr\u003e\n\n\n## API FAQ:\n\n* [API Best Practices](https://brenton.house)\n* [What is API Security?](https://brenton.house/what-is-api-security-5ca8117d4911)\n* [OWASP Top 10 List for API Security](https://www.youtube.com/watch?v=GLVHDj0Cpg4)\n* [What is API Security?](https://brenton.house/what-is-api-security-5ca8117d4911)\n* [Top API Trends for 2022](https://brenton.house/top-10-api-integration-trends-for-2022-49b05f2ef299)\n* [What is a Frankenstein API?](https://brenton.house/what-is-a-frankenstein-api-4d6e59fca6)\n* [What is a Zombie API?](https://brenton.house/what-is-a-zombie-api-6e5427c39b6a)\n* [API Developer Experience](https://brenton.house/keys-to-winning-with-an-awesome-api-developer-experience-62dd2fa668f4)\n* [API Cybersecurity 101](https://brenton.house/what-is-api-security-5ca8117d4911)\n* [YouTube API Videos](https://youtube.com/brentonhouse)\n* [YouTube API Shorts Videos](https://youtube.com/apishorts)\n\n\u0026nbsp;\n\n[![Click to watch on Youtube](https://img.youtube.com/vi/GLVHDj0Cpg4/0.jpg)](https://www.youtube.com/watch?v=GLVHDj0Cpg4\u0026list=PLsy9MwYlG1pew6sktCAIFD5tbrXy9HUQ7  \"Click to watch on YouTube\")\n\n\n\u003e \u0026nbsp; [↑ Watch video on YouTube ↑](https://www.youtube.com/watch?v=GLVHDj0Cpg4\u0026list=PLsy9MwYlG1pew6sktCAIFD5tbrXy9HUQ7)\n\n\u0026nbsp;\n\n\n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003chr\u003e\n\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\u003cp\u003e\u0026nbsp;\u003c/p\u003e\n\n[//]: # (header-end)\n\n\n\n# @titanium/applesignin\n\n[![@titanium/applesignin](https://img.shields.io/npm/v/@titanium/applesignin.png)](https://www.npmjs.com/package/@titanium/applesignin)\n[![Dependabot Status](https://api.dependabot.com/badges/status?host=github\u0026repo=brentonhouse/titanium-applesignin)](https://dependabot.com)\n\n\n\u003e This is an experiment by [Brenton House](https://brenton.house) using open-source projects.  You are welcome to try it out but be aware of the risks_\n\n\u003cbr/\u003e\n\n* [📝 Description](#-description)\n* [🚀 Getting Started](#-getting-started)\n\t* [Install `@titanium/applesignin` in root of project](#install-titaniumapplesignin-in-root-of-project)\n\t* [Add entitlement to `tiapp.xml`](#add-entitlement-to-tiappxml)\n\t* [Add to Apple Developer Account](#add-to-apple-developer-account)\n* [✨Features](#features)\n* [Requirements](#requirements)\n* [Example](#example)\n* [APIs](#apis)\n\t* [Methods](#methods)\n\t\t* [`createLoginButton()`](#createloginbutton)\n\t\t* [`authorize({ scopes })`](#authorize-scopes-)\n\t\t* [`getCredentialState(userId, callback)`](#getcredentialstateuserid-callback)\n\t* [Events](#events)\n\t\t* [`login`](#login)\n* [License](#license)\n* [Author](#author)\n* [📚Learn More](#learn-more)\n* [📣 Feedback](#-feedback)\n* [©️ Legal](#️-legal)\n\n\n## 📝 Description\n\n\u003e Native modules that allows you to use the iOS 13+ Apple Sign In API with Axway Titanium native mobile apps.   \n\u003e     \n\u003e This is a repackaging of the compiled iOS module for [ti.applesignin](https://github.com/appcelerator-modules/titanium-apple-sign-in) to allow for installation via npm.\n\n## 🚀 Getting Started\n\n### Install `@titanium/applesignin` in root of project\n\n```bash\nnpm install @titanium/applesignin\n```\n\n### Add entitlement to `tiapp.xml`\n\n\u003e Be sure the `\u003centitlements\u003e` element goes **outside** of the `\u003cplist\u003e` element in your `tiapp.xml` file!\n\n```xml\n\u003cti:app xmlns:ti=\"http://ti.appcelerator.org\"\u003e\n\t\u003cios\u003e\n\t\t\u003cplist\u003e\n\t\t\u003c/plist\u003e\n\t\t\u003centitlements\u003e\n\t\t\t\u003cdict\u003e\n\t\t\t\t\u003ckey\u003ecom.apple.developer.applesignin\u003c/key\u003e\n\t\t\t\t\u003carray\u003e\n\t\t\t\t\t\u003cstring\u003eDefault\u003c/string\u003e\n\t\t\t\t\u003c/array\u003e\n\t\t\t\u003c/dict\u003e\n\t\t\u003c/entitlements\u003e\n\t\u003c/ios\u003e\n\u003c/ti:app\u003e\n```\n\n### Add to Apple Developer Account\n\n1. Go to your App Identifiers - https://developer.apple.com/account/resources/identifiers/list\n2. Create new identifier (or edit an existing one)\n3. Add capability by checking the box for `Sign In with Apple`\n\n![Sign In with Apple](https://cdn.secure-api.org/images/sign-in-with-apple-capability.png)\n\n4. Create a provisioning profile for that app id - https://developer.apple.com/account/resources/profiles/list\n5. Download and install that provisioning profile\n6. Make sure id of Titanium app matches App ID created: `\u003cid\u003eYOUR.APP.ID\u003c/id\u003e`\n\n\n## ✨Features\n\n* [x] Includes Titanium native iOS module: `ti.applesignin 1.1.1`\n\n## Requirements\n\nThe following project- and OS-requirements are necessary:\n\n- [x] Xcode 11+\n- [x] iOS 13+\n- [x] Titanium SDK 8.0.0+\n\n## Example\n\nThis module was designed to follow a similar scheme like Ti.Facebook and Ti.GoogleSignIn.\n\n```js\nconst AppleSignIn = require('@titanium/applesignin');\n\nAppleSignIn.addEventListener('login', function (event) {\n  console.warn(`event: ${JSON.stringify(event, null, 2)}`);\n  if (!event.success) {\n    alert(event.error);\n    return;\n  }\n});\n\nconst win = Ti.UI.createWindow({\n  backgroundColor: '#fff'\n});\n\nconst btn = AppleSignIn.createLoginButton({ width: 280, height: 38 });\n\nbtn.addEventListener('click', function () {\n  AppleSignIn.authorize();\n});\n\nwin.add(btn);\nwin.open();\n```\n\n## APIs\n\n### Methods\n\n#### `createLoginButton()`\n\nCreates a new localized login button.\n\n#### `authorize({ scopes })`\n\nStarts an authorization flow with an optional array of scoped. Defaults to all scopes ( `fullName` and `email` ).\n\n#### `getCredentialState(userId, callback)`\n\nFetches the current credential state with a given user-id (received from the `event.profile.userId`  key of the `login` event).\nThe result is returned to the `state` parameter of the `callback` and can be authorized, revoked, transferred or unknown.\n\n### Events\n\n#### `login`\n\nThe login event with the user's `profile`.\n\n\n## License\n\nMIT\n\n## Author\n\nHans Knöchel\n\n\n\n## 📚Learn More\n\n⭐  [ti.applesignin GitHub Repo](https://github.com/appcelerator-modules/titanium-apple-sign-in) - Repo for original ti.applesignin module   \n\n\n## 📣 Feedback\n\nHave an idea or a comment?  [Join in the conversation here](https://github.com/brentonhouse/titanium-applesignin/issues)! \n\n## ©️ Legal\n\nModules are licensed under Apache 2.0 from https://github.com/appcelerator-modules/titanium-applesignin\n\nAlloy is developed by Appcelerator and the community and is Copyright © 2012-Present by Appcelerator, Inc. All Rights Reserved.\n\nAlloy is made available under the Apache Public License, version 2. See their license file for more information.\n\nAppcelerator is a registered trademark of Appcelerator, Inc. Titanium is a registered trademark of Appcelerator, Inc. Please see the LEGAL information about using trademarks, privacy policy, terms of usage and other legal information at http://www.appcelerator.com/legal.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobilehero-archive%2Ftitanium-applesignin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmobilehero-archive%2Ftitanium-applesignin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmobilehero-archive%2Ftitanium-applesignin/lists"}