dwyl / dwyl/auth

Apple Auth

Open
#37 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Elixir
Stars
141
Forks
8
PR merge metrics
No merged PRs in 30d

Description

# Story

As a person who (_uses an iPhone and_) wants to protect their privacy,
I want to be able use **Sign in with Apple** to authenticate with the @dwyl app
So that I can use the app without giving up my email address
(_but still get email notifications routed via Apple_).

![image](https://user-images.githubusercontent.com/194400/70156597-158d7700-16ac-11ea-9c9e-4ab673cb8283.png)

# Context

One of our [key differentiators](https://github.com/dwyl/product-roadmap#usp-what-is-different-about-the-dwyl-app) as an app/company is our focus on privacy.
We aren't sending Analytics data to Google/Facebook/etc.
and we aren't mining anyone's data to build a "consumer profile" to sell to advertisers.
We are treating people's personal data as **`private`** and encrypting it wherever we can.

# Hypothesis

People who care about personal privacy1 tend to use Apple iPhone because Apple's business model is high quality hardware and relates services (iCloud, Apps, etc) not harvesting personal data.
(_yes, there are plenty of posers who buy iPhones as a [status symbol](https://en.wikipedia.org/wiki/Status_symbol), but let's focus on privacy_)

We expect people who are privacy-focussed to identify strongly with what we are building.
And giving them the option to login with their Apple Account will reduce friction to adoption.

## Benefits

The benefits of Apple Login accrue to end-users in terms of privacy.
People whom we want to _help_ maintain their privacy.

WSJ made an informative video explaining how Apple preserves privacy in their login service:
[![image](https://user-images.githubusercontent.com/194400/70132959-24106a00-167d-11ea-9323-48980fae1942.png)](https://youtu.be/pmfjt2PPuVA)
https://youtu.be/pmfjt2PPuVA

## Disadvantages

+ Quite recently announced (June 2019) so uncertain market demand.
+ Strong vendor lock-in tied to the Apple ecosystem.
+ A _commercial_ disadvantage is that Apple ID/iCloud is not typically used by teams of people,
it's more of an _individual/personal_ account. By contrast _many_ companies/organisations use Google.
+ From (_briefly_) reading the [docs](https://developer.apple.com/sign-in-with-apple/get-started) it doesn't look _simple_ to implement ... 🙄

# Todo

+ [ ] Determine how many people using the MVP are using iOS devices.
+ [ ] Collect feedback from people using iOS devices on how much they want to use Apple Auth.
+ [ ] investigate how to implement "Sign in with Apple" for a web application.
https://developer.apple.com/sign-in-with-apple/get-started


1 On the subject of "Which is the most private phone?" available,
Some people say the BlackBerry Key2 has even _better_ privacy controls than Apple.
see: https://smartphones.gadgethacks.com/how-to/5-best-phones-for-privacy-security-0176106
But BB has only [0.04%](https://www.statista.com/statistics/271243/blackberry-os-market-share-in-the-united-kingdom-uk/) market share in 2019 ... Down from 33% percent in December 2011 📉 😮
So it's not really worth spending too much time discussing BB, except as a lesson in strategic failure. 🙄
Also, BB Key2 is powered by Android which means _by `default`_ it still sends _lots_ of data to Google!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.