Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:

- name: E2E Tests - Shard ${{ matrix.shardIndex }} of 4
run: |
cd reactjs-todo && npm run e2e -- --shard=${{ matrix.shardIndex }}/4
cd ../reactjs-todo-davinci && npm run e2e -- --shard=${{ matrix.shardIndex }}/4
cd ../angular-todo && npm run e2e -- --shard=${{ matrix.shardIndex }}/4
cd ../central-login-oidc-client && npm run e2e -- --shard=${{ matrix.shardIndex }}/4
(cd reactjs-todo-journey && npm run e2e -- --shard=${{ matrix.shardIndex }}/4)
(cd reactjs-todo-oidc && npm run e2e -- --shard=${{ matrix.shardIndex }}/4)
(cd reactjs-todo-davinci && npm run e2e -- --shard=${{ matrix.shardIndex }}/4)
(cd angular-todo && npm run e2e -- --shard=${{ matrix.shardIndex }}/4)
env:
REST_OAUTH_SECRET: ${{ secrets.REST_OAUTH_SECRET }}

Expand All @@ -51,11 +51,11 @@ jobs:
with:
name: Playwright Results - ${{ runner.os }} - ${{ matrix.node }} - Shard ${{ matrix.shardIndex }} - ${{ github.run_attempt }}
path: |
./javascript/reactjs-todo/test-results
./javascript/reactjs-todo/playwright-report
./javascript/reactjs-todo-journey/test-results
./javascript/reactjs-todo-journey/playwright-report
./javascript/reactjs-todo-oidc/test-results
./javascript/reactjs-todo-oidc/playwright-report
./javascript/angular-todo/test-results
./javascript/angular-todo/playwright-report
./javascript/reactjs-todo-davinci/test-results
./javascript/reactjs-todo-davinci/playwright-report
./javascript/central-login-oidc-client/test-results
./javascript/central-login-oidc-client/playwright-report
12 changes: 7 additions & 5 deletions javascript/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,17 @@ node_modules
.angular
todo-api/todos/*
todo-api/users/*
reactjs-todo/public/*
!reactjs-todo/public/index.html
!reactjs-todo/public/callback.html
reactjs-todo-journey/public/*
!reactjs-todo-journey/public/index.html
!reactjs-todo-journey/public/callback.html
reactjs-todo-oidc/public/*
!reactjs-todo-oidc/public/index.html
!reactjs-todo-oidc/public/callback.html
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
.eslintcache
reactjs-todo/public/*
**/xcuserdata/
.gradle/
.idea/
Expand All @@ -26,4 +28,4 @@ CURRENT
LOG
CURRENT*
**/LOG
**/CURRENT
**/CURRENT
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# OIDC Login

> Archived sample. Prefer active OIDC samples such as `reactjs-todo-oidc` for current implementation patterns.

The SDK provides an OIDC client for using the Authorization Code Flow
(with PKCE) with a centralized application using OIDC Login.

Expand All @@ -23,5 +25,5 @@ Then, create your configuration `.env` file based on the included `.env.example`
Then, from the `/javascript` folder run the sample app as follows:
```
npm install
npm run start:central-login-oidc-client
npm start --workspace ./Archived/central-login-oidc-client
```
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025 Ping Identity Corporation. All rights reserved.
* Copyright (c) 2026 Ping Identity Corporation. All rights reserved.
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025 Ping Identity Corporation. All rights reserved.
* Copyright (c) 2026 Ping Identity Corporation. All rights reserved.
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2025 Ping Identity Corporation. All rights reserved.
* Copyright (c) 2026 Ping Identity Corporation. All rights reserved.
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* index.html
*
* Copyright (c) 2025 Ping Identity Corporation. All rights reserved.
* Copyright (c) 2026 Ping Identity Corporation. All rights reserved.
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/ -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* main.js
*
* Copyright (c) 2025 Ping Identity Corporation. All rights reserved.
* Copyright (c) 2026 Ping Identity Corporation. All rights reserved.
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# OIDC Login

\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\
**IMPORTANT NOTE**: This sample app is deprecated. Please refer to the central-login-oidc-client sample app [here](https://github.com/ForgeRock/sdk-sample-apps/tree/main/javascript/central-login-oidc-client) for the latest information.\
**IMPORTANT NOTE**: This sample app is archived. Please use active samples such as `reactjs-todo-oidc` for current OIDC integration patterns.\
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

The SDK provides an option for using the Authorization Code Flow
Expand Down Expand Up @@ -30,6 +30,6 @@ Then, move on the `/javascript` folder and run the sample app as follows:
```
npm install

npm run start:central-login-oidc
npm start --workspace ./Archived/central-login-oidc

```
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as forgerock from '@forgerock/javascript-sdk';
*
* main.js
*
* Copyright (c) 2024 - 2025 Ping Identity Corporation. All rights reserved.
* Copyright (c) 2024 - 2026 Ping Identity Corporation. All rights reserved.
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*
* index.html
*
* Copyright (c) 2024 - 2025 Ping Identity Corporation. All rights reserved.
* Copyright (c) 2024 - 2026 Ping Identity Corporation. All rights reserved.
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/ -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* webpack.comfig.js
*
* Copyright (c) 2024 - 2025 Ping Identity Corporation. All rights reserved.
* Copyright (c) 2024 - 2026 Ping Identity Corporation. All rights reserved.
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*/
Expand Down
13 changes: 8 additions & 5 deletions javascript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ To try out the Ping JavaScript SDK please look at one of our samples:

- 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.

- [**React Todo - `reactjs-todo`**](./reactjs-todo/README.md)
- [**React Todo Journey - `reactjs-todo-journey`**](./reactjs-todo-journey/README.md)

- 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.
This sample is focused on embedded journey login patterns, including callback-rich experiences such as WebAuthN and social login.

- [**Angular Todo - `angular-todo`**](./angular-todo/README.md)

Expand All @@ -49,9 +49,13 @@ To try out the Ping JavaScript SDK please look at one of our samples:

### OIDC Login:

- [**Central login - `central-login-oidc`**](./central-login-oidc/README.md)
- [**React Todo OIDC - `reactjs-todo-oidc`**](./reactjs-todo-oidc/README.md)

- React todo sample app for centralized OIDC login using the current OIDC client patterns.

- 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.
- Archived vanilla OIDC samples:
- [`Archived/central-login-oidc`](./Archived/central-login-oidc/README.md)
- [`Archived/central-login-oidc-client`](./Archived/central-login-oidc-client/README.md)

## Documentation

Expand All @@ -67,4 +71,3 @@ Detailed [documentation](https://docs.pingidentity.com/sdks) is provided, and in
JavaScript
- Please use a modern web browser like Chrome, Safari, or Firefox
- Node >= 18

Loading
Loading