{"id":15621521,"url":"https://github.com/olivierodo/simple-oidc-app","last_synced_at":"2026-01-30T05:32:09.577Z","repository":{"id":44069073,"uuid":"210513970","full_name":"olivierodo/simple-oidc-app","owner":"olivierodo","description":"Just a simple app to test an open id connect endpoint","archived":false,"fork":false,"pushed_at":"2022-12-11T06:56:50.000Z","size":184,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-04T16:48:21.688Z","etag":null,"topics":["expressjs","oauth2","oidc"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olivierodo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-09-24T04:47:05.000Z","updated_at":"2019-09-26T03:15:04.000Z","dependencies_parsed_at":"2023-01-26T17:46:34.033Z","dependency_job_id":null,"html_url":"https://github.com/olivierodo/simple-oidc-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olivierodo%2Fsimple-oidc-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olivierodo%2Fsimple-oidc-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olivierodo%2Fsimple-oidc-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olivierodo%2Fsimple-oidc-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olivierodo","download_url":"https://codeload.github.com/olivierodo/simple-oidc-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207492,"owners_count":20740723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["expressjs","oauth2","oidc"],"created_at":"2024-10-03T09:41:15.357Z","updated_at":"2026-01-30T05:32:04.539Z","avatar_url":"https://github.com/olivierodo.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Open Id Connect tester\n\n\u003e This project is just a simple app to help the developer to test an open id connect endpoint.\n\nThe application shouldn't  be deployed, it's just for local development purposes.\n\n## Getting start\n\n\n``` #node.js #express.js ```\n\n## Getting Started :metal:\n\n### Dependencies\n\n  * openid connect configuration : url\n  * openid connect configuration : client id\n  * openid connect configuration : client secret \n\n### Setup :computer:\n\n  * Set your environment variables ```cp .env.sample .env``` then edit your `.env` file.\n  * Install dependencies using ``` npm install ``` or ``` yarn ```.\n  * Add the redirect url to open id connect identity provider : {{host}}/callback\n\n### Environment variable\n\nYou can edit the environment variable on the file `.env.`\n\n  * `CLIENT_ID` : the client id shared by the identiy provider\n  * `CLIENT_SECRET` : the client secret shared by the identiy provider\n  * `URL_OPENID` : the public oidc url configuration\n  * `RENDER_TYPE` : Define the render for the first page : html or json (default: json)\n\nIf you want to test a simple oauth2 endpoint, you will need to create a local config and share it in the `URL_OPENID` env var\n\nExample with github.com\n\n```\n## config.json\n{\n  \"authorization_endpoint\": \"https://github.com/login/oauth/authorize\",\n  \"token_endpoint\": \"https://github.com/login/oauth/access_token\"\n}\n\n```\n\nThen on the `.env` file you need to add :\n\n```\n## .env\n\nURL_OPENID=./config.json\n```\n\n### Run :running:\n\n\n  start project\n  ```\n  npm run start:dev\n  ```\n\n### Example of public OIDC configuration\n\n* Google : https://accounts.google.com/.well-known/openid-configuration\n* Salesforce : https://login.salesforce.com/.well-known/openid-configuration\n* Microsoft: https://login.windows.net/common/.well-known/openid-configuration\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folivierodo%2Fsimple-oidc-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folivierodo%2Fsimple-oidc-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folivierodo%2Fsimple-oidc-app/lists"}