{"id":39113829,"url":"https://github.com/wirepact/demo-applications","last_synced_at":"2026-01-17T20:01:24.942Z","repository":{"id":37049001,"uuid":"472396749","full_name":"WirePact/demo-applications","owner":"WirePact","description":"WirePact demo applications in a Docker container. App and API in various variants.","archived":false,"fork":false,"pushed_at":"2024-09-18T04:16:23.000Z","size":1950,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-09-19T01:14:41.261Z","etag":null,"topics":["basic-authentication","demo-app","oidc","wirepact"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WirePact.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-03-21T15:25:10.000Z","updated_at":"2024-09-18T02:12:55.000Z","dependencies_parsed_at":"2023-10-10T15:53:40.046Z","dependency_job_id":"c0ae4746-68c6-4f73-8908-617cd9362435","html_url":"https://github.com/WirePact/demo-applications","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WirePact/demo-applications","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WirePact%2Fdemo-applications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WirePact%2Fdemo-applications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WirePact%2Fdemo-applications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WirePact%2Fdemo-applications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WirePact","download_url":"https://codeload.github.com/WirePact/demo-applications/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WirePact%2Fdemo-applications/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28517429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T18:55:29.170Z","status":"ssl_error","status_checked_at":"2026-01-17T18:55:03.375Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["basic-authentication","demo-app","oidc","wirepact"],"created_at":"2026-01-17T20:01:23.311Z","updated_at":"2026-01-17T20:01:24.915Z","avatar_url":"https://github.com/WirePact.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WirePact Applications\n\nThis repository contains various demo/showcase applications for WirePact.\nThe applications are used during development of translators and for\nthe end-to-end demo. They vary in terms of programming language\nand flavor to show that neither the framework nor the programming language\nlimits the use case of WirePact.\n\n**Note** that these applications are not meant for production!\n\n## Flavors/Applications\n\n### [OIDC Provider](./oidc_provider/)\n\nThis application serves as \"login\" point for demo applications that use OIDC.\nIt is a custom web app with the [node-oidc-provider](https://github.com/panva/node-oidc-provider)\npackage to deliver OIDC login capabilities. This serves as an\nalternative to [\"Keycloak\"](https://www.keycloak.org/)\nor other OIDC provider pre-built software, which tend to\nhave longer startup times for development.\n\n### [App with OIDC](./oidc_app/)\n\nThe \"OIDC client application\" provides a Next.js application that uses NextAuth\nto authenticate the user against the [OIDC Provider](./oidc_provider).\nAs mentioned, to log in, you may use any username/password combination\nsince the provider accepts arbitrary input.\n\nOnce you are logged in, you can enter an API url that the app shall\nsend an HTTP GET request to. The result is then displayed in the\nweb application.\n\n### [API with OIDC](./oidc_api/)\n\nThe \"OIDC API\" is a dotnet (.net6.0) application that uses\nOIDC (more specifically\n[OAuth2.0Introspection](https://github.com/IdentityModel/IdentityModel.AspNetCore.OAuth2Introspection)) authentication\nto check if a user may or may not access the API. The API has\none endpoint (`/swapi/people`) that returns the first ten people from the\n[Star Wars API](https://swapi.dev/).\n\n### [App with Basic Auth](./basic_auth_app/)\n\nTrivial HTML/JavaScript application that uses HTTP Basic Authentication\n([RFC7617](https://tools.ietf.org/html/rfc7617))\nto authenticate against a given API. Served via NGINX.\n\n### [Backend App with Basic Auth](./basic_auth_backend_app/)\n\n.NET Razor Pages application that uses HTTP Basic Authentication\n([RFC7617](https://tools.ietf.org/html/rfc7617))\nto authenticate against a given API. The application utilizes\npost-back forms to execute the basic auth request to the API.\nThis enables the app to use the HTTP_PROXY environment variable.\n\n### [API with Basic Auth](./basic_auth_api/)\n\nThis API uses simple Basic Auth ([RFC7617](https://tools.ietf.org/html/rfc7617))\ncredentials to authenticate a user. Like the OIDC API, it exposes one\npossible API endpoint (`/swapi/people`) that returns the first ten people\nof the [Star Wars API](https://swapi.dev/).\n\n## Run All Applications\n\nIf you want to try the applications, you may use the provided\n[docker-compose.yml](./docker-compose.yml) file to build and start\nthe applications. Be aware that on\n[Docker for Mac](https://docs.docker.com/desktop/mac/)\nand [Docker for Windows](https://docs.docker.com/desktop/windows/)\nyou eventually are required to change the `localhost` references\nto `host.docker.internal` because of the way the port forwarding\nworks. Or vice versa.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwirepact%2Fdemo-applications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwirepact%2Fdemo-applications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwirepact%2Fdemo-applications/lists"}