Skip to main content

Login from a mobile app

When integrating Login into your mobile app, you have three different flows to choose from. Each flow has its own advantages and complexity level, so choose the one that best fits your app's requirements and technical capabilities.

Choose your flow

🟢 Simple Login from a mobile app

Best for: Apps that can handle redirect requests directly

The simplest flow to implement if you handle the redirect request directly in your app. This flow provides a straightforward integration with minimal complexity. It provides a seamless user experience with automatic return to your app after authentication.

Advantages:

  • Automatic return to your app
  • Easy to implement
  • Minimal configuration required
  • Direct handling of authentication results

Considerations:

  • Requires your app to directly handle redirect requests
  • Limited support for third-party redirect URIs

Learn more about the simple flow →

🔵 Regular logins (Login from a website)

Best for: Apps that want a simple implementation without automatic return

Normal browser based logins work well also in app scenarios. This is a simple flow to implement with the main disadvantage being a loss of automatic return.

Advantages:

  • Simple to implement
  • Works reliably across all platforms
  • No complex app-switching logic required

Considerations:

  • No automatic return to your app
  • User experience may be less seamless

Learn more about the website flow →

🟡 Advanced Login from a mobile app

Best for: Apps that need automatic return even with third-party redirect URIs

A flow that can be finicky to implement depending on your app but supports handling automatic return to the app even in cases where the redirect-uri must go through third party services.

Advantages:

  • Automatic return to your app
  • Supports complex redirect scenarios
  • Better user experience with seamless app switching

Considerations:

  • More complex to implement
  • Requires careful browser session management
  • May need additional configuration for third-party redirects

Learn more about the advanced flow →

Flow comparison

FeatureSimple App FlowWebsite FlowAdvanced App Flow
Implementation complexityLowLowHigh
Automatic return to app✅ Yes❌ No✅ Yes
Browser session managementNot requiredNot requiredRequired
Third-party redirect supportLimited✅ Yes✅ Yes
User experienceExcellentGoodExcellent

Getting started

  1. Choose your flow based on your app's requirements and technical capabilities
  2. Review the specific documentation for your chosen flow
  3. Follow the integration guide step by step
  4. Test thoroughly in your development environment

Need help choosing?

If you're unsure which flow to choose:

  • Start with the simple app flow if you want automatic return to your app
  • Use the website flow if you want a simple implementation but cannot handle redirects directly for technical reasons
  • Consider the advanced flow only if you need complex redirect handling or third-party integration

For more detailed guidance, see our Login API checklist or contact our support team.