Next-Auth (Auth.js) integration with ISC OAuth

Description

Join @mike818148 as he presents a comprehensive guide to using Next-Auth for authentication in Next.js projects. This video targets developers looking to integrate Next-Auth with SailPoint Identity Security Cloud (ISC), providing practical insights and step-by-step instructions. With a focus on OAuth usage, Mike explains how to request access tokens and refresh tokens. Basic knowledge of TypeScript, React, and Next.js is recommended for viewers. Stay tuned to learn how this setup will transition smoothly to Auth.js in the future.

This video is based on the content from Mike’s blog:

Referenced resources:

GitHub repo & instructions

GitHub - mike818148/devcom-livestream-isc-next-auth

  1. When deploy locally, run npm install then npm run dev
  2. When deploy on Vercel, make sure provides the following environment variables:
  • ISC_BASE_API_URL=https://{tenant}.api.identitynow.com
  • ISC_BASE_URL=https://{tenant}.identitynow.com
  • ISC_CLIENT_ID={isc_client_id}
  • ISC_CLIENT_SECRET={isc_client_secret}
  • NEXTAUTH_SECRET={random long string}
1 Like