{"id":16815876,"url":"https://github.com/big-kahuna-burger/f0","last_synced_at":"2025-07-31T18:03:15.864Z","repository":{"id":218790765,"uuid":"729959170","full_name":"big-kahuna-burger/f0","owner":"big-kahuna-burger","description":"OIDC Protocol Conforming Identity Provider and a Management Dashboard","archived":false,"fork":false,"pushed_at":"2024-10-23T14:17:38.000Z","size":2209,"stargazers_count":5,"open_issues_count":17,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T13:11:34.490Z","etag":null,"topics":["idp","issuer","jwt","jwt-authentication","oauth2","oidc","oidc-client","oidc-server"],"latest_commit_sha":null,"homepage":"https://f0-manage.vercel.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/big-kahuna-burger.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["big-kahuna-burger"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-12-10T21:38:04.000Z","updated_at":"2024-10-23T14:17:41.000Z","dependencies_parsed_at":"2024-10-27T11:58:21.583Z","dependency_job_id":"a74f636a-85c4-4fff-8354-c1f408c19e01","html_url":"https://github.com/big-kahuna-burger/f0","commit_stats":null,"previous_names":["big-kahuna-burger/f0"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/big-kahuna-burger%2Ff0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/big-kahuna-burger%2Ff0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/big-kahuna-burger%2Ff0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/big-kahuna-burger%2Ff0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/big-kahuna-burger","download_url":"https://codeload.github.com/big-kahuna-burger/f0/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232937202,"owners_count":18599473,"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":["idp","issuer","jwt","jwt-authentication","oauth2","oidc","oidc-client","oidc-server"],"created_at":"2024-10-13T10:36:37.804Z","updated_at":"2025-01-07T20:41:34.525Z","avatar_url":"https://github.com/big-kahuna-burger.png","language":"JavaScript","funding_links":["https://github.com/sponsors/big-kahuna-burger"],"categories":[],"sub_categories":[],"readme":"# A Auth0 (micro) copy\n\n## Requirements\n\n- Node 18/20\n- Docker\n\n## Install\n\nClone repo, cd to it:\n\n#### Env\n\nAdd env files:\n\n##### OP ENV (fastify server)\n```sh\ncat \u003c\u003cEOT \u003e services/idp/.env\n# IDP Environment Variables\nISSUER=http://localhost:9876/oidc\nPOSTGRES_PRISMA_URL='postgres://postgres:secret123@localhost:5432/idp'\nPOSTGRES_URL_NON_POOLING='postgres://postgres:secret123@localhost:5432/idp'\nGRANTS_DEBUG=1\nDEBUG=oidc:events:*\nDASHBOARD_ORIGIN=http://localhost:3036\n\n# after running scripts/init\nDASHBOARD_CLIENT_ID=\nEOT\n```\n\n\n##### Manage ENV (React SPA)\n```sh\ncat \u003c\u003cEOT \u003e services/manage/.env\n# React App Environment Variables\nPORT=3036\nREACT_APP_ISSUER=http://localhost:9876/oidc\n\n# after running scripts/init\nDASHBOARD_CLIENT_ID=\nEOT\n```\n\n\n# Run installation for services/idp\n\nDaemonize postgres and jaeger on docker\n\n```sh\ncd services/idp \u0026\u0026 docker compose up -d\n```\n\nInstall deps: it will run client generation and db migrations as well\n\n```sh\nnpm i\n```\n\n#### Initialize \n\nMakes those default/readonly objects for bootstrapping:\n- `Management API` ResourceServer\n- `Dashboard` OidcClient\n- Default `Admin Connection`\n- Enables `Dashboard` OidcClient with a `Admin Connection`\n```sh\nnpm run init\n```\n\nAfter initialization, output will give a client id that needs to be added to env vars\n\nScript that needs user interaction and let's you create account. (TODO, ask for claims other than email/password)\n```sh\nnpm run create-account\n```\n\n```sh\nnpm start\n```\n\nVisit well known url: http://localhost:9876/oidc/.well-known/openid-configuration\nVisit jwks: http://localhost:9876/oidc/jwks\n\n# Run installation for services/manage\n```sh\ncd ../manage \u0026\u0026 npm i\n```\n\n```sh\nnpm start\n```\n\nVisit management app: http://localhost:3036/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbig-kahuna-burger%2Ff0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbig-kahuna-burger%2Ff0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbig-kahuna-burger%2Ff0/lists"}