Skip to main content

Launch + idtoken-based SSO

tip

Make sure you've read about authenticating API requests before proceeding to the guide below.

info

The ID Token endpoint only accepts the ltik based authentication method.

When a user clicks your LTI® tool inside an LMS, their browser will eventually arrive at your application. By the time they land on your page, you need them logged in to your own application's authentication system — LTIAAS does not run that authentication for you. What LTIAAS does is verify the LMS's signed claims about the user and hand them to you in a developer-friendly format called the ID Token. Your application then uses the trusted identity contained in the ID Token to either log the user into an existing account in your tool or provision a new one on the spot.

This guide walks through the full end-to-end flow, from the moment a user clicks the tool link inside the LMS to the moment they're logged into your application. It also shows concrete patterns for the most common authentication setups your application might already be using: a server-side session cookie, a short-lived JWT for a single-page application, and identity providers like Auth0, Cognito, Firebase Auth, and NextAuth.js.


What's next

  • Deep Linking flow — allow teachers to pick specific content from your tool and embed it into an LMS assignment.
  • Grade Passback flow — send a user's score back to the LMS gradebook after they complete an activity.
  • Names & Roles flow — retrieve the full class roster for the LMS context the user just launched from.

All trademarks, logos, and service marks displayed on this website are the property of their respective owners. LTIAAS is a trademark of GatherAct, LLC, doing business as LTIAAS. Learning Tools Interoperability (LTI)® and LTI® are trademarks of 1EdTech Consortium, Inc. LTIAAS is not affiliated with, endorsed or sponsored by 1EdTech Consortium, Inc. or by any other owners of third-party trademarks used on this website. LTIAAS is not responsible for the content, quality, or accuracy of any websites linked to or from this website that are not owned by LTIAAS. If you have any questions or concerns about the use of any trademarks or content on this website, please contact us.