Skip to main content
With the Okta, Box, and basic application set up, we can turn our attention to the first step in the application code flow, the Okta login. During the Okta login we will employ the OpenID Connect (OIDC) frameworks of the language used to redirect the user to Okta to log in and pass Okta user information back to the application. Those Okta user details will in turn be used to validate and create Box users in the next step. This section will walk you through:
  • Setting up the application configuration skeleton.
  • Defining the routes for the chosen framework to handle user traffic.
  • Passing Okta user information to the next Box user validation step.

Set up the Skeleton

Setup Application Route

We now need to define the code that will run when our main route (/) is engaged.

Summary

  • You set up the skeleton routes and configuration for Okta.
  • You set up the main route handler to pass to Box user verification.