[PR #17] Changing Login to Kakao, Apple, and One-Time Codes
- What changed: Instead of text messages, login became a phone number with a password, Kakao, and Apple (iPhone only). First-time linking and recovery became a one-time code given by the operations staff.
- Decision: Because of cost, text-message login was reconsidered. Apple’s review guideline and the Kakao and Naver review rules were checked in official documents, and the screen scope was changed along with it.
- Still unknown: The method here is what the spec document says. The real sign-up flow will be checked after implementation.
This is the record of a PR in which writing the login spec started from a cost question and ended with store guidelines changing the screen scope. No code changed; only the spec, the decision memo edits and this PR’s work log went in.
What I did and why
- Claude wrote item 9 of milestone M0 (the scope spec for sub-milestone 1). To start development, about 20 policies that were still “undecided or proposed values” in the login design material had to be settled.
- A big change of direction came up mid-conversation. A request came in to move away from text messages because of cost, so the login methods were decided again from scratch.
- The new login methods are these.
- App: mobile number + password (kept, because it was already agreed and fixed), Kakao, and Apple (iPhone only)
- First connection and password recovery: a one-time code that an operator gives on site or by phone
- Admin web: the organization’s Google account (because it already uses Google Workspace)
- Disconnecting and requesting deletion inside the app: moved to top priority because of Apple’s review guidelines
- The outputs were one new spec, a “login methods” section in the tech stack and deployment decision memo (text messages marked “not used”), fixes in the milestone document where text messages were assumed, and the screen count going from 93 to 89.
The options I chose and the ones I dropped
- The text-message cost was shown as a number first. Claude calculated from a text-message vendor’s rates and estimated the pilot scale at a few thousand won a month or less. What had been dropped for cost in the old project was not text messages but an identity-verification service. Even so, I chose to investigate Kakao and Naver, and Claude followed that.
- Kakao and Naver were investigated from the official docs, and two facts that changed the plan turned up.
- Apple review guideline 4.8: if you offer social login, you must also give iPhone users an equivalent such as Sign in with Apple.
- Naver: if you ask for a service-specific password when someone signs up with Naver login, the review rejects it.
- I chose plan ‘C’, which keeps number login. People without a social account can still get in, and the earlier agreement is not broken. Naver was dropped because it overlaps with number login.
- An invitation code was chosen instead of receiving a phone number from Kakao and matching it. Receiving the number needs a personal-information review, and people who do not use KakaoTalk and Apple sign-ins have no number.
- For the admin web, the organization’s Google account was chosen instead of email + password + an authenticator app. There is no need to build reset, two-step verification or offboarding by hand. Following Google’s docs, the spec says the server must check the
hdvalue of the ID token (signed proof of who logged in), not the domain hint on the login screen. - While writing section 3 of the spec, Claude found Apple guideline 5.1.1(v) and fixed section 1. Deletion must be startable inside the app, and social connections must be removable. At first it had been decided as “disconnecting only on the admin web”.
- Passwords are 15 characters or more. This follows NIST SP 800-63B-4 (the US standards institute’s authentication guidance), which asks for at least 15 characters when a password alone is used, and people who find that long can use Kakao.
- The login design material (on the shared drive) was not edited. The spec lists only “what changed from the two specs”.
How I checked
- I approved the policy values and the screen list section by section (flow and screens → data and server → failures and screen states → completion criteria and prerequisites). The four things Claude put into the spec without the conversation having decided them (removing the “stay signed in” checkbox, an 8-digit recovery code, state names, two prerequisites) were pointed out separately and approved.
- Claude recounted the screens. The app went from 15 to 14, and the admin web from 27 to 24.
- Every row of the failure-case table where the user would see nothing (permission bypass, a Kakao token from another app, a Google account outside the organization) got an automated test.
- I also confirmed that every link between documents points to a real file and that no email, phone number or IP patterns are present.
What I learned
- Social login was not “just one more button”. Store guidelines (an alternative login, deletion inside the app) and each company’s review rules changed the screen scope. Check the store guidelines before choosing the method.