Skip to main content

Integration Patterns

Cloud has the newest features. Some may not be in a release yet; the newest release is Identity & Access Management 7.3.0.

Wayfinder uses a redirect-based pattern: sign-in, sign-up, and recovery all run as hosted Choreo Identity & Access Management screens. That fits a browser-based travel app well, but it is not the only option. The integration pattern determines where identity screens live and who controls each step in the journey. The right choice depends on your user experience goals, development resources, and how much control you want over the journey.

Choose Your Integration Pattern​

You can choose the best fit for your application by answering these questions:

Redirect-Based​

When a user wants to sign in, the app sends them to Choreo Identity & Access Management. Choreo Identity & Access Management shows the sign-in, sign-up, and recovery screens, then sends the user back signed in. Because the app never sees the user's password, this is the simplest security posture and the quickest path to a working sign-in.

The pattern covers sign-in, sign-up, recovery, additional-permission requests with consent screens, hosted-page branding, and signing the user out. It fits web apps, single-page apps, and mobile apps. The main trade-off is that the user has to leave the app for a hosted page. This can feel disruptive inside a native mobile app or a heavily branded web experience, and UI customization is limited to what the hosted pages expose.

This pattern is typically built with a standard sign-in library or an SDK provided by Choreo Identity & Access Management. The underlying handshake is well-specified and not worth hand-rolling.

App-Native​

The app renders every screen itself, but the journey lives on Choreo Identity & Access Management. This gives the app full control over what the user sees while keeping step ordering, branching, and policy on the server. The pattern is the best fit for native mobile and any all-in-the-app experience.

The full set of journeys is covered with custom UI: sign-in, sign-up, recovery, profile changes that need re-verification, and invitation acceptance. The pattern handles multi-step prompts, multi-factor authentication, and steps that change based on the user or context. Branding is handled entirely in the app.

App-native has two flavors that trade UI granularity for app-side code:

  • Step-by-step (verbose flow): the app sees every step the journey defines. After each step, it calls Choreo Identity & Access Management for the next step's details, renders the screen the server describes, captures the user's input, and posts it back.
  • Managed (non-verbose flow): Choreo Identity & Access Management orchestrates the journey internally and only exposes outcomes to the app. The app says "the user wants to sign in" and reacts to whatever the product hands back. The app still decides how to render each screen and capture input.

This pattern is typically built using a Choreo Identity & Access Management SDK. The SDK handles the per-step (step-by-step) or per-outcome (managed) calls and state so the app can focus on UI.

Continue Designing Your Architecture​

Review the other architecture decisions that shape your B2C application.

Was this page helpful?