{"id":28385928,"url":"https://github.com/gldraphael/blazor-wasm-oidc-sample","last_synced_at":"2025-08-01T14:02:45.594Z","repository":{"id":278233525,"uuid":"934315049","full_name":"gldraphael/blazor-wasm-oidc-sample","owner":"gldraphael","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-18T17:15:39.000Z","size":840,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-26T12:51:51.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/gldraphael.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-17T16:15:27.000Z","updated_at":"2025-02-18T17:15:43.000Z","dependencies_parsed_at":"2025-02-18T18:36:58.934Z","dependency_job_id":null,"html_url":"https://github.com/gldraphael/blazor-wasm-oidc-sample","commit_stats":null,"previous_names":["gldraphael/blazor-wasm-oidc-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gldraphael/blazor-wasm-oidc-sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gldraphael%2Fblazor-wasm-oidc-sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gldraphael%2Fblazor-wasm-oidc-sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gldraphael%2Fblazor-wasm-oidc-sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gldraphael%2Fblazor-wasm-oidc-sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gldraphael","download_url":"https://codeload.github.com/gldraphael/blazor-wasm-oidc-sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gldraphael%2Fblazor-wasm-oidc-sample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268240279,"owners_count":24218355,"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","status":"online","status_checked_at":"2025-08-01T02:00:08.611Z","response_time":67,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-05-30T12:13:57.859Z","updated_at":"2025-08-01T14:02:45.555Z","avatar_url":"https://github.com/gldraphael.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blazor WASM + Keycloak OIDC example\n\nThis is a sample to demonstrate long user sessions for Blazor WASM applications.\n\n## Running this sample\n\n```sh\ndocker compose build\ndocker compose up\n```\n\nThis will expose the following services:\n\nService    | Port\n-----------|-------\n`postgres` | `7571`\n`keycloak` | `7572`\n`wasmapp`  | `7573`\n\nWait for the logs to settle down before proceeding.\n\n## Setting up a keycloak user\n\n1. **Login:** Log into keycloak with username `keycloak` \u0026 password `keycloak`.\n1. **Switch realm:** Use the dropdown at the top-left corner to switch from the `master` realm to the `example` realm.\n1. **Create user:** Click on Users \u0026rarr; Add user and follow the steps to create a user.\n1. **Create password:** Switch to the Credentials tab, click on Set Password, set a password.\n\n## Testing the sample\n\n1. Go to wasm-app at `http://localhost:7573`.\n1. Click on the Login link, and login with the user created in the previous step.\n1. Open developer tools and clear session storage, and refresh the page.\n\nYou will still remain logged in, as expected.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgldraphael%2Fblazor-wasm-oidc-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgldraphael%2Fblazor-wasm-oidc-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgldraphael%2Fblazor-wasm-oidc-sample/lists"}