Developer example

Android sample for native OIDC sign-in

Use the Android sample when you need a native mobile login flow with standards-based OIDC, app-link handling, and a practical starting point for a real app.

Android + AppAuth Native mobile app / public client
Best for
  • Android teams that need a standards-based sign-in flow without inventing a custom mobile auth protocol.
  • Member apps, school apps, and community apps that start with direct user access.
  • Products that want a proper mobile baseline before adding richer profile or delegated workflows.
What this sample shows
  • Native OIDC login with deep links or app links on Android.
  • How callback handling fits into a mobile public-client flow.
  • A clean starting point for native mobile sign-in without backend guesswork.
Integration model

Use native Android sign-in without reducing identity to device state

The Android sample focuses on a proper native public-client flow. That is the right starting point for direct mobile access. If your product later needs managed profiles or delegated handling, keep those rules in the product identity model rather than trying to encode them into the mobile auth flow itself.

These pages explain the sample on Tuurio's domain. GitHub remains the code host.

Stack
Android + AppAuth
Pattern
Native mobile app / public client
Source code auth_samples_android