Skip to content

Instantly share code, notes, and snippets.

View itsidleboy's full-sized avatar
:bowtie:
letss Gooo

Idle Boy itsidleboy

:bowtie:
letss Gooo
View GitHub Profile
@jdthorpe
jdthorpe / login.tsx
Created March 16, 2023 22:48
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)
*/