Global Sign Out with AWS Cognito in iOS
Implement Global Sign Out to invalidate tokens on all user devices simultaneously. Learn the difference between local sign out (fast, this device only) and global sign out (secure, all devices).
Implement Global Sign Out to invalidate tokens on all user devices simultaneously. Learn the difference between local sign out (fast, this device only) and global sign out (secure, all devices).
Learn how to implement the Change Password flow for logged-in users. Unlike Forgot Password, this requires the current password and keeps the user session active after the change.
Implement the complete password recovery flow with AWS Cognito in iOS. Users can request a recovery code by email and set a new password in a guided 2-step screen.
Access and ID tokens expire after 60 minutes. Learn how to implement automatic token refresh using the Refresh Token so users never experience unexpected session expirations.
Implement session persistence so users stay logged in when reopening the app. We’ll check Keychain tokens on launch and route the user automatically without asking them to sign in again.
Learn how to store AWS Cognito tokens securely using Keychain in iOS, implement sign-out, and build a welcome screen. No more losing tokens when the app closes.
Implement the sign-in screen with AWS Cognito in iOS. Learn how to use the USER_PASSWORD_AUTH flow, receive Access, ID, and Refresh tokens, and understand what each token is for.
Learn how to implement the account confirmation screen with AWS Cognito in iOS without Amplify. We’ll connect the 6-digit verification code flow, handle errors, and enable code resending.
Learn how to implement user registration with AWS Cognito on iOS from scratch — no Amplify. Step-by-step guide using the native AWS SDK for Swift with SwiftUI.
En los artículos anteriores implementamos autenticación, recuperación de contraseña y cambio de contraseña. También tenemos un botón de “Cerrar Sesión” en HomeView que elimina los tokens del Keychain local. Pero, ¿qué pasa si un usuario quiere cerrar sesión en TODOS sus dispositivos al mismo tiempo? En este artículo implementaremos el Global Sign Out. ¿Qué vamos