Skip to content

feat(react-journey): add react journey app#86

Merged
ancheetah merged 11 commits into
mainfrom
SDKS-4047-react-journey
Apr 1, 2026
Merged

feat(react-journey): add react journey app#86
ancheetah merged 11 commits into
mainfrom
SDKS-4047-react-journey

Conversation

@ancheetah
Copy link
Copy Markdown
Contributor

@ancheetah ancheetah commented Jan 6, 2026

Jira: https://pingidentity.atlassian.net/browse/SDKS-4047

TODO:

@ancheetah ancheetah requested review from cerebrl and ryanbas21 January 6, 2026 23:00
## Requirements

1. An instance of Ping's Access Manager (AM), either within a Ping's Advanced Identity Cloud tenant, your own private installation or locally installed on your computer
2. Node >= 14.2.0 (recommended: install via [official package installer](https://nodejs.org/en/))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should update this to a newer node, we dont test this far back so maybe 18? 18 is still pretty old

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to 18.12.0

Copy link
Copy Markdown
Contributor

@ryanbas21 ryanbas21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First pass

Comment thread javascript/react-journey/client/README.md
Comment thread javascript/react-journey/client/README.md Outdated
Comment thread javascript/react-journey/client/components/journey/identity-provider.js Outdated
*/

// TODO: Have we ported over HttpClient yet?
import { HttpClient } from '@forgerock/javascript-sdk';
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We haven't but i think we could probably remove this and use a plain fetch

Comment thread javascript/react-journey/client/utilities/oidc-client.js Outdated
@ancheetah ancheetah force-pushed the SDKS-4047-react-journey branch 2 times, most recently from cc7c400 to 3962b82 Compare January 12, 2026 23:43
@ancheetah ancheetah added the do not merge Do not merge label Jan 12, 2026
@ancheetah ancheetah force-pushed the SDKS-4047-react-journey branch 5 times, most recently from b09f40e to 315978c Compare January 17, 2026 00:18
@ancheetah ancheetah marked this pull request as ready for review January 17, 2026 00:20
@ancheetah
Copy link
Copy Markdown
Contributor Author

Please review "SDK Integration" comments and OIDC Context

ryanbas21
ryanbas21 previously approved these changes Jan 20, 2026
cerebrl
cerebrl previously approved these changes Jan 20, 2026
Copy link
Copy Markdown
Contributor

@cerebrl cerebrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. I have one non-blocking that we can address in a follow up PR.

* @function useOidcClient - A custom hook to access the OIDC client from React Context
* @returns - An OIDC client if it exists otherwise an error
*/
export function useOidcClient() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems this module differs a bit from the global-state.js pattern. Can we make sure these are consistent in both file name and internal patterns?

See the screenshot attached.

Image

@ancheetah ancheetah dismissed stale reviews from cerebrl and ryanbas21 via 906fd1f February 2, 2026 20:51
*
* protect.context.js
*
* Copyright (c) 2026 Ping Identity Ping Identity Corporation. All rights reserved.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey just a heads up: I noticed "Ping Identity" is showing up twice in the copyright header of a few files.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, I'll update these in my next pr. Thanks!

Comment thread javascript/reactjs-todo-journey/client/index.jsx
@ancheetah ancheetah force-pushed the SDKS-4047-react-journey branch 2 times, most recently from 875d81b to 2797407 Compare April 1, 2026 14:57
@ancheetah ancheetah removed the do not merge Do not merge label Apr 1, 2026
cerebrl
cerebrl previously approved these changes Apr 1, 2026
Comment thread javascript/reactjs-todo-journey/client/components/journey/journey.hook.js Outdated
Copy link
Copy Markdown
Contributor

@SteinGabriel SteinGabriel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor findings.

Comment thread javascript/reactjs-todo-journey/client/components/journey/journey.hook.js Outdated
Comment thread javascript/reactjs-todo-journey/client/views/home.jsx Outdated
@ancheetah ancheetah force-pushed the SDKS-4047-react-journey branch from ae40810 to a3e9ff7 Compare April 1, 2026 20:55
SteinGabriel
SteinGabriel previously approved these changes Apr 1, 2026
@ancheetah ancheetah merged commit 0e6fde3 into main Apr 1, 2026
16 checks passed
@ancheetah ancheetah deleted the SDKS-4047-react-journey branch April 1, 2026 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

5 participants