Skip to main content

Browser

Official

Vanilla JavaScript SDK for browser apps without a framework.

API reference

Every export is fully typed. The signatures and props below come from the package's own reference documentation, so what is listed here is what the installed version ships.

Functions
functionConfiguration

The

initialize() method accepts a configuration object that controls how the SDK connects to your ThunderID instance and manages authentication.

Example
import { ThunderIDBrowserClient } from '@thunderid/browser'

const auth = new ThunderIDBrowserClient()

await auth.initialize({
  clientId: '<your-client-id>',
  baseUrl: 'https://localhost:8090',
})

Get started

Provider, session, and a protected route, start to finish.

Connect your application

Getting started / Connect your application / Browser

Open in docs

The quickstart is maintained alongside the rest of the getting-started guides so it stays in step with the platform. This page covers the package itself.

Guides

Task-focused walkthroughs maintained alongside the SDK.

Accessing Protected APIs

Make authenticated HTTP requests from a browser application using the Browser SDK's built-in HTTP client.

3 min read
ThunderID LogoThunderID Logo

Product

DocsAPIsSDKs
© Copyright Linux Foundation Europe.For web site terms of use, trademark policy and other project policies please see https://linuxfoundation.eu/en/policies.