Giter VIP home page Giter VIP logo

developerinsider / sign-in-with-apple-demo Goto Github PK

View Code? Open in Web Editor NEW
60.0 7.0 12.0 107 KB

In iOS 13 at WWDC 2019, Apple introduce a fast, easy way to sign in to apps and websites i.e. Sign In with Apple. This repository contains the complete working demo for Sign In with Apple.

Home Page: https://developerinsider.co/ios-13-how-to-integrate-sign-in-with-apple-in-your-application/

License: MIT License

Swift 100.00%
swift ios signin-with-apple ios13

sign-in-with-apple-demo's People

Contributors

vineetchoudhary avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sign-in-with-apple-demo's Issues

Error 1000 (unknown) is returned when app is run in simulator or device

Xcode 11.3
macOS Catalina v10.15.2

Seen other Stack Overflow posts where the inclusion of:

let passwordRequest = ASAuthorizationPasswordProvider().createRequest()

...in the authorizedRequests parameter, causes this 1000 error.

In this example, in viewDidAppear, performExistingAccountSetupFlows is called, which includes the ASAuthorizationPasswordProvider request. This is failing.

Assuming that Apple may have changed something since the initial versions of iOS 13?

It seems to fail access sandbox

SignInWithAppleDemo[24074:4746867] libMobileGestalt MobileGestaltSupport.m:121: pid 24074 (SignInWithAppleDemo) does not have sandbox access for re6Zb+zwFKJNlkQTUeT+/w and IS NOT appropriately entitled

what is it? how to solve it?

Thank you!

Thanks so much for this code sample.

We have iOS and Android and Web, how can we make it so a user signing in with Apple can use same login for all platform?

i got AKAuthenticationError Code=-7022

[core] Authorization failed: Error Domain=AKAuthenticationError Code=-7022 "(null)" UserInfo={AKClientBundleID=Bazinga.login321}
Our localized error : The operation couldn’t be completed. (com.apple.AuthenticationServices.AuthorizationError error 1000.)

Never shows as authenticated

After logging in the first time and rerunning the app, credentials state is never .authorized and so doesn't log you in on app open.

This is the error that it shows.

2019-08-12 13:37:40.229003-0600 SignInWithAppleDemo[44007:12475950] [core] Authorization failed: Error Domain=AKAuthenticationError Code=-7001 "(null)" UserInfo={AKClientBundleID=com.example.apple-samplecode.juice}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.