Skip to content

Conversation

@ancheetah
Copy link
Contributor

@ancheetah ancheetah commented Jan 6, 2026

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

TODO:

DO NOT MERGE: Pending release of journey client and oidc client. OIDC and Journey package dependencies need to be updated.

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

*/

// TODO: Have we ported over HttpClient yet?
import { HttpClient } from '@forgerock/javascript-sdk';
Copy link
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

@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 4 times, most recently from 23683ad to b09f40e Compare January 16, 2026 23:55
@ancheetah ancheetah force-pushed the SDKS-4047-react-journey branch 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
Contributor Author

Please review "SDK Integration" comments and OIDC Context

Copy link
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
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Do not merge

Development

Successfully merging this pull request may close these issues.

4 participants