Skip to content

Conversation

@abroa01
Copy link
Collaborator

@abroa01 abroa01 commented Nov 21, 2024

  • Created the openid version of the webchart-oauth-example.
  • Made a video showing the flow of the application and uploaded on YouTube https://youtu.be/jqhS8GgddO4
  • changed the package.json file to
    • handle both commonJS as well as ES modules
    • change the start and test script to handle and give user an option to run either the default app (webchart-oauth-example.js i.e., that uses simple Oauth) or OpenID app (webchart-example_openid.mjs i.e., that uses new Openid code)
  • created another puppeteer-test_openid.js to test the webchart-example_openid.mjs
  • Removed the v18.x from the node-version arrays in the GitHub workflows ( Check the issue raised here. -
    Fixing the crypto library issue in version v18.x from the GitHub workflow  #9

wreiske and others added 21 commits October 8, 2024 11:43
- Replaced `var` with `const` and `let` for proper variable scoping.
- Switched to ES6 module syntax and used destructuring in imports.
- Simplified control flow by using early returns instead of `else if` chains.
- Wrapped server logic in `try-catch` blocks to handle unexpected errors.
- Added JSDoc comments to document functions and enhance readability.
- Utilized the `URL` module for reliable URL parsing instead of string manipulation.
- Improved logging consistency using `console.error` for errors and `console.log` for standard logs.
Updated the client id and hardcoded it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make a version that uses .well-known/openid-configuration

3 participants