Software development kits (SDKs)

Edited

Overview

Software Development Kits (SDKs) provide a simplified way to integrate your application with Next Identity using standard OpenID Connect (OIDC) protocols. SDKs help developers handle authentication flows, user registration, profile editing, and token management without having to build everything from scratch.

Next Identity currently offers SDKs for three popular languages: Python, PHP, and JavaScript.

How It Works

You can download SDKs directly from the Client Details page in the Next Identity Console:

  1. Navigate to the Client Details screen of your application.

  2. Scroll to the Integrate your client section.

  3. Choose your preferred SDK (Python, PHP, or JavaScript) and follow the download link for installation instructions.

Available SDKs

Next Identity OIDC Python SDK

A lightweight Python library that supports:

  • OIDC Authorization Code flow for confidential clients

  • Automatic OIDC endpoint discovery

  • User authentication and token handling

  • Extensions for registration and profile editing

  • Integration with Flask and FastAPI

Download and integration instructions →

Next Identity OpenID Connect PHP SDK

A simple PHP SDK that includes:

  • Full OIDC flow (discovery, authorization, token exchange)

  • User info retrieval

  • Session management for tokens and user data

  • API for login, logout, and profile updates

Download and integration instructions →

Next Identity JavaScript SDK

A browser-based SDK that:

  • Displays user information dynamically (name and email)

  • Updates login/logout UI based on authentication state

  • Clears user data on logout automatically

Download and integration instructions →

Use Cases

  • Secure user login/logout flows

  • User registration and profile updates

  • Single sign-on (SSO) implementations

  • Token-based session handling

  • Multi-platform integrations across frontend and backend

Best Practices

  • Always use the latest SDK version for security and feature updates.

  • Review the GitHub repository for integration examples and community guidance.

  • Avoid modifying SDK internals — use the exposed APIs for customizations.

  • Use the SDKs in combination with your environment-specific client credentials and redirect URIs.

Was this article helpful?

Sorry about that! Care to tell us more?

Thanks for the feedback!

There was an issue submitting your feedback
Please check your connection and try again.