Ping provides these samples to help demonstrate SDK functionality/implementation. They are provided "as is" and are not official products of Ping and are not officially supported.
To try out the Ping JavaScript SDK please look at one of our samples:
-
Embedded login -
embedded-login
- A barebones example of how to use the
@forgerock/javascript-sdk
in a vanilla html & javascript app with embedded login. The sample supports the OOTB Login Journey with Username and Password.
- A barebones example of how to use the
-
- Todo application that involves authentication and authorization of a user to post Todos with the
@forgerock/javascript-sdk
in ReactJS. The main branch includes many flavors of callbacks, including WebAuthN, embedded login, and social login.
- Todo application that involves authentication and authorization of a user to post Todos with the
-
- Todo application that involves authentication and authorization of a user to post Todos with the
@forgerock/javascript-sdk
in Angular. The main branch includes many flavors of callbacks, including WebAuthN, embedded login, and social login.
- Todo application that involves authentication and authorization of a user to post Todos with the
- Coming soon
-
Central login -
central-login-oidc
- A barebones example of how to use the
@forgerock/javascript-sdk
in a vanilla html & javascript app with centralized login with AIC/AM or PingOne services(OIDC Login). Configure the server type on the.env
file.
- A barebones example of how to use the
Documentation for the SDKs is provided on ForgeRock Backstage, and includes topics such as:
- Introducing the SDK Features
- Preparing your server for use with the SDKs
- API Reference documentation
JavaScript
- Please use a modern web browser like Chrome, Safari, or Firefox
- Node >= 18