-
Notifications
You must be signed in to change notification settings - Fork 11
feat(react-journey): add react journey app #86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
javascript/react-journey/README.md
Outdated
| ## 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/)) |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
ryanbas21
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First pass
javascript/react-journey/client/components/journey/identity-provider.js
Outdated
Show resolved
Hide resolved
| */ | ||
|
|
||
| // TODO: Have we ported over HttpClient yet? | ||
| import { HttpClient } from '@forgerock/javascript-sdk'; |
There was a problem hiding this comment.
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
cc7c400 to
3962b82
Compare
23683ad to
b09f40e
Compare
b09f40e to
315978c
Compare
|
Please review "SDK Integration" comments and OIDC Context |
cerebrl
left a comment
There was a problem hiding this 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() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

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.