Skip to content
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

Feature/openid client config #8

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

Conversation

abroa01
Copy link
Collaborator

@abroa01 abroa01 commented Nov 19, 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

wreiske and others added 2 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.
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.

2 participants