How to Integrate the New ‘Sign in with Apple’ Button in Your iOS App? - PowerPoint PPT Presentation

About This Presentation
Title:

How to Integrate the New ‘Sign in with Apple’ Button in Your iOS App?

Description:

The new sign in tool from Apple allows exercising complete control over permissions for apps to access user information, while giving a consistent sign-in experience. – PowerPoint PPT presentation

Number of Views:31
Slides: 10
Provided by: way2smile

less

Transcript and Presenter's Notes

Title: How to Integrate the New ‘Sign in with Apple’ Button in Your iOS App?


1
(No Transcript)
2
How to Integrate the New Sign in with Apple
Button in Your iOS App?
  • The new Sign in with Apple button announced by
    Apple is a part of iOS 13 announcements. This
    button provides Apple ID single sign-on feature
    that is similar to the sign-in buttons of Google,
    Facebook, and Twitter. This secure sign-in option
    ensures maintaining privacy.
  • Personal information such as email addresses will
    be masked by Apple, while the installed apps will
    be still allowed to indirectly contact users.
    Users can have a control over the information
    that may be shared with the destination app.
  • Heres where the need for apps to update and
    integrate this Sign in with Apple button
    arises. Since it will not be possible to access
    customer information that they are looking for,
    several apps may choose not to add the Apple ID
    login.

3
Factors That Necessitate Sign in With Apple?
  • Of late, there have been quite a lot of scandals
    shrouding security and privacy breaches, among
    some of global corporations such as Facebook and
    Google. Amid such unwanted chaos, the sign in
    with Apple feature comes as a breather that
    protects privacy.
  • Requiring collecting only users name and their
    email addresses while not demanding any other
    data, this feature certainly enables fast and
    easy signing in.
  • The following are a few of the key benefits of
    this innovative feature crated by Apple

Enhanced security
Fraud is prevented
Multiple platforms
No Repetitive logins
4
Enhanced security
Fraud is prevented
Advanced machine learning helps sending alerts
immediately when a new account on the app doesnt
appear to be a real person. Developers may take
such alerts into consideration while providing
permission to the apps features.
  • Each account that uses Sign in with Apple ID is
    protected automatically using two-factor
    authentication. After the customary username and
    password combination, adding Face ID or Touch ID
    thus helps achieving this.

5
Multiple platforms
No Repetitive logins
If a user has an account already with the app, it
alerts them and asks if they would like to log in
using their existing email ID.
  • It is capable of working on iOS, tvOS, watchOS,
    and macOS. It can also be deployed in different
    versions of apps running on other platforms.

6
Steps to Integrate Sign in With Apple Feature
in iOS Apps
  • Apple has introduced an easy and fast way to sign
    in to applications using this feature. It allows
    setting up user accounts with specific names,
    unique stable identifiers, and verified email
    addresses. These allow users to sign in to their
    apps using their individual Apple ID.
  • The following are the steps for integrating this
    innovative feature in mobile applications
  • The first step is creating a new project in
    Xcode. Sign in with Apple capability needs to be
    added in the project. An entitlement will be
    added and that will allow the app to use up the
    sign in with Apple feature.
  • The ASAuthorizationAppleIDButton provided by
    Authentication services helps users in initiating
    the sign in with Apple flow. By creating an
    instance of ASAuthorizationAppleIDButton and
    adding the target for touchUpInside action, this
    button may be added more easily.

Project configuration
Adding Apple Login Button
7
Login Button Press Handling
During Sign in with Apple button press, a
provider has to be used for creating the request
that we may use for initializing a controller
which would perform the request. An
ASAuthorization.Scope value in the array to a
request can be used.
Setup Flow of Existing Account
Since there is possibility of the user having
already logged in with an application,
ASAuthorizationAppleIDProvider and
ASAuthorizationPasswordProvider need to be
reused. This will create a request that may be
used for initializing a controller.
ASAuthorizationController Delegate Handling
Upon successfully completing the last step, the
ASAuthorizationController Delegate receives the
authorization consisting of a credential which
has gotten a user identifier.
8
Apple Developer Account Configuration
Upon trying to sign in, an error message showing
AUTH_ALERT_SIGN_UP_NO_COMLETED will appear. Only
after creating a key with Sign in with Apple
enabled in the developer account, signing in
would work.
Resetting an Existing Account
For resetting existing account to check out the
first sign in experience, settings app of the iOS
device must be opened. Tapping on the account in
Apple ID header, security and password section
has to be opened.
Credential State Checking
The user identifier received from
ASAuthorizationAppleIDCredential object may be
used for checking the credential state.
Registration of Emails and Domains for
Communication
Domains and email addresses used by the
organization need to be registered for
communication.
9
Conclusion
  • Offering the next level of security to users, the
    new sign in button from Apple enables users to
    decide what information to share, with
    destination apps. Since no one wants to make
    public, any of their personal information these
    days, Apples new move is seen to be a boon for
    users.

Read More
E-mail us bd_at_w2ssolutions.com Call us 91
73387 73388 Website www.way2smile.com
Powered by WAY2SMILE
Write a Comment
User Comments (0)
About PowerShow.com