Authentication & Mobile App Security
Sign-in that follows the OAuth 2.0 guidance for native apps, biometrics backed by hardware keys, and security reviews mapped to OWASP MASVS.
Mobile security starts from one fact: anything shipped inside the app binary can be extracted. Secrets therefore stay on the server, the API enforces authorization, and the app’s job is to protect the user’s session and data on the device. For sign-in I follow the OAuth 2.0 for Native Apps best practice: the authorization code flow with PKCE, run in the system browser (ASWebAuthenticationSession on iOS, Custom Tabs on Android) rather than an embedded web view, against your OpenID Connect provider. Access tokens stay short-lived. Refresh tokens live in the Keychain or in storage encrypted…