ForgeRock SDKs

ForgeRock Login Widget

The ForgeRock Login Widget is an all-inclusive UI component to help you add authentication, user registration, and other self-service flows into your web applications.

You can use the ForgeRock Login Widget within React, Vue, Angular and a number of other modern JavaScript frameworks, as well as vanilla JavaScript.

It does not currently support server-side rendering (SSR), including Node.js.

The ForgeRock Login Widget uses the ForgeRock SDK for JavaScript internally, and adds a user interface and state management. This rendering layer helps eliminate the need to develop and maintain the UI components for providing complex authentication flows.

ForgeRock develops this rendering layer using Svelte and Tailwind, but these are "compiled away" resulting in no runtime dependencies.

The resulting ForgeRock Login Widget is both library- and framework-agnostic.

Get started with the ForgeRock Login Widget in the following sections


The ForgeRock Login Widget supports the following ForgeRock features:

Supported Unsupported

Page node


Username, Password

Centralized login

Push authentication

Push registration

One-time password verification

One-time password registration

Social login providers:

  • Apple

  • Facebook

  • Google


Email suspend, or "magic links"

QR codes

TextOutputCallback callbacks containing scripts

Device profile

SAML federation


The ForgeRock Login Widget is designed to work with the following:

  • An ECMAScript module or CommonJS enabled client-side JavaScript app

  • A "modern", fully-featured browser such as Chrome, Firefox, Safari, or Chromium Edge

The ForgeRock Login Widget supports vanilla JavaScript and many frameworks. It is tested against the following:

Tested Unsupported


Server-side rendering (SSR), including Node.js




The ForgeRock Login Widget is not designed or tested for use with the following:

  • Internet Explorer

  • Legacy Edge

  • WebView

  • Electron

  • Modified, browser-like environments

Copyright © 2010-2023 ForgeRock, all rights reserved.