Skip to content

Commit cd33941

Browse files
committed
Remove broken live demo links and add local debugging instructions
1 parent 1fa63b5 commit cd33941

2 files changed

Lines changed: 2 additions & 11 deletions

File tree

javascript/central-login-oidc/src/main.js

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,13 @@ import * as forgerock from '@forgerock/javascript-sdk';
1010
* of the MIT license. See the LICENSE file for details.
1111
*/
1212

13-
console.log({
14-
clientId: process.env.WEB_OAUTH_CLIENT, // e.g. 'ForgeRockSDKClient' or PingOne Services Client GUID
15-
redirectUri: `https://localhost:8443`, // Redirect back to your app, e.g. 'https://localhost:8443' or the domain your app is served.
16-
scope: process.env.SCOPE, // e.g. 'openid profile email address phone revoke' When using PingOne services `revoke` scope is required
17-
serverConfig: {
18-
wellknown: process.env.WELL_KNOWN,
19-
timeout: parseInt(process.env.TIMEOUT), // Any value between 3000 to 5000 is good, this impacts the redirect time to login. Change that according to your needs.
20-
},
21-
});
2213
await forgerock.Config.setAsync({
2314
clientId: process.env.WEB_OAUTH_CLIENT, // e.g. 'ForgeRockSDKClient' or PingOne Services Client GUID
2415
redirectUri: `${window.location.origin}`, // Redirect back to your app, e.g. 'https://localhost:8443' or the domain your app is served.
2516
scope: process.env.SCOPE, // e.g. 'openid profile email address phone revoke' When using PingOne services `revoke` scope is required
2617
serverConfig: {
2718
wellknown: process.env.WELL_KNOWN,
28-
timeout: parseInt(process.env.TIMEOUT), // Any value between 3000 to 5000 is good, this impacts the redirect time to login. Change that according to your needs.
19+
timeout: process.env.TIMEOUT, // Any value between 3000 to 5000 is good, this impacts the redirect time to login. Change that according to your needs.
2920
},
3021
});
3122

javascript/reactjs-todo/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ You will likely have to accept the security certificate exceptions for both your
9292

9393
This project has a debugging statements that can be activated which causes the app to pause execution at each SDK integration point. It will have a comment above the `debugger` statement explaining the purpose of the integration.
9494

95-
If you'd like to use this feature as a learning tool, run the application locally and then open the developer tools of your browser. Rerun the app with the developer tools open, and it will automatically pause at these points of integration.
95+
If you'd like to use this feature as a learning tool, open the developer tools of your browser and rerun the app locally. It will automatically pause at these points of integration.
9696

9797
For local development, if you want to turn these debuggers off, you can set the environment variable of `DEBUGGER_OFF` to true.
9898

0 commit comments

Comments
 (0)