SDKs

SDKs

Explore OLAF SDKs for web, mobile, and backend platforms. Learn how to integrate authentication, manage configurations, and streamline user management with our comprehensive SDKs.


Web SDKs

OLAF provides the following web client SDKs to enable integrations for authorization and white-labeling with an easy-to-use interface.

JavaScript

Native JavaScript plackage

React.js

Wrapper for React.js library

Angular

Wrapper for Angular framework

Vue.js

Wrapper for Vue.js framework

Next.js

Wrapper for Next.js framework

Mobile device SDKs

Our mobile device helper libraries (or Mobile Device SDKs) assist you in developing native applications for Apple and Android devices and platforms.

iOS SDK

Native iOS implementation in Swift

Android SDK

Native Android implementation in Kotlin

React Native plugin

Supporting iOS & Android

Flutter plugin

Supporting iOS, Android, macOS, Web & Desktop

Backend SDKs

OLAF covers variety of popular Backend frameworks and languages to help you integrate OLAF into your backend services.

JavaScript/TypeScript

Node.js, Express.js, NestJS & Fastify

Python

Django, Flask, FastAPI & Pyramid

Ruby

Ruby on Rails & Sinatra

PHP

Laravel, Symfony & CodeIgniter

Java

Spring Boot, Micronaut & Dropwizard

C#/.NET

ASP.NET Core

Go

Gin, Echo & Fiber

Others

Kotlin, Rust & Elixir

Find out more at Backend Framework SDKs.


How SDKs Work

All OLAF SDKs operate in a similar fashion to ensure consistent behavior across platforms:

  1. SDK Initialization:
    • When the SDK initializes, it automatically communicates with the OLAF backend.
    • Based on the request’s host, OLAF determines the correct application associated with the host.
  2. Configuration Fetch:
    • OLAF returns the application-specific configuration, including:
      • Client ID: A unique identifier for your app.
      • Callback URL: The URL where users will be redirected after authentication.
  3. Authentication URL Construction:
    • Using the returned Client ID and Callback URL, the SDK constructs an authentication URL.
    • This URL is used during the sign-in and other authentication process to redirect users securely.
Previous
Custom Domains & Hosts