{"id":22006360,"url":"https://github.com/a-sit-plus/eid-service-app","last_synced_at":"2026-05-07T07:32:26.870Z","repository":{"id":70167364,"uuid":"404353695","full_name":"a-sit-plus/eid-service-app","owner":"a-sit-plus","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-05T14:51:10.000Z","size":239,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-23T06:43:54.646Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/a-sit-plus.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":"2021-09-08T13:15:30.000Z","updated_at":"2024-12-13T02:59:54.000Z","dependencies_parsed_at":"2024-11-30T01:11:56.326Z","dependency_job_id":"8e56dca3-f837-45bc-ba82-34e2ac195540","html_url":"https://github.com/a-sit-plus/eid-service-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/a-sit-plus/eid-service-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-sit-plus%2Feid-service-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-sit-plus%2Feid-service-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-sit-plus%2Feid-service-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-sit-plus%2Feid-service-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-sit-plus","download_url":"https://codeload.github.com/a-sit-plus/eid-service-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-sit-plus%2Feid-service-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32727376,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2024-11-30T01:11:45.660Z","updated_at":"2026-05-07T07:32:26.836Z","avatar_url":"https://github.com/a-sit-plus.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Demo E-ID Service App\n\nThis app demonstrates OpenId Connect authentication using the E-ID demo app from \u003chttps://eid.a-sit.at\u003e. This app will open an intent carrying an HTTPS URL, which will be picked up by the E-ID app, if it is installed. Otherwise, a custom browser tab will be opened to handle authentication at the ID Austria system.\n\nUse case for a web client: App contains a WebView, back-end service handles OpenId Connect login on their own.\n\n## Web client\n\nExample running with the relying party at `https://eid.a-sit.at/notes` and the authorization server at `eid.egiz.gv.at` (button `WebView` in app).\n\nThe WebView navigates to the main page of the back-end service, e.g. `https://eid.a-sit.at/notes`. The service creates a redirect to the authorization server, which the app detects (in its `WebViewClient` implementation).\n\nThis app opens an intent for `https://eid.egiz.gv.at/idp/profile/oidc/authorize?response_type=code\u0026client_id=https://eid.a-sit.at/notes\u0026scope=openid\u0026state=...\u0026redirect_uri=https://eid.a-sit.at/notes/login/oauth2/code/eid`\n - The URL points to the OpenId Provider\n - Parameters `response_type`, `client_id`, `scope`, `state` are needed for a typical OpenId Connect flow\n - Parameter `redirect_uri` is also needed, and points to an URL registered for this app, i.e. an [Android App Link](https://developer.android.com/training/app-links) stated in the [AndroidManifest](./app/src/main/AndroidManifest.xml)\n \nIn case of a successful authentication, the E-ID app opens an intent for `https://eid.a-sit.at/notes/login/oauth2/code/eid?code=...\u0026state=...`\n - The URL points to the `redirect_uri` from before\n - Parameters `code` and `state` are the default OpenId Connect parameters\n\nThen the service app can use the URL to load it in the WebView. The back-end service will get an access token on the back-end channel an log the user in. \n\n## Libraries\n\nThis app uses the following libraries:\n - Material Components for Android, [Github](https://github.com/material-components/material-components-android), licensed under the [Apache License 2.0](https://github.com/material-components/material-components-android/blob/master/LICENSE)\n - Browser, [Github](https://github.com/androidx/androidx/tree/androidx-main/browser), licensed under the [Apache License 2.0](https://github.com/androidx/androidx/blob/androidx-main/LICENSE.txt)\n - ConstraintLayout, [Github](https://github.com/androidx/constraintlayout), licensed under the [Apache License 2.0](https://github.com/androidx/constraintlayout/blob/main/LICENSE)\n - Appcompat, [Android](https://developer.android.com/jetpack/androidx/releases/appcompat), licensed under the Apache License 2.0\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-sit-plus%2Feid-service-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-sit-plus%2Feid-service-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-sit-plus%2Feid-service-app/lists"}