Skip to content

Instantly share code, notes, and snippets.

@minimaanima
minimaanima / login.tsx
Created October 4, 2024 08:29 — forked from jdthorpe/login.tsx
expo-auth-session example
/* An example app that uses expo-auth-session to connect to Azure AD (or hopefully most providers)
Features:
- secure cache with refresh on load
- securely stored refresh token using expo-secure-store
- uses zustand for global access to the token / logout
Based on [this gist](https://gist.github.com/thedewpoint/181281f8cbec10378ecd4bb65c0ae131)
*/