{"id":31827499,"url":"https://github.com/groton-school/slim-oauth2-api-proxy-gae-repository","last_synced_at":"2026-01-20T16:29:06.917Z","repository":{"id":315514570,"uuid":"1059688550","full_name":"groton-school/slim-oauth2-api-proxy-gae-repository","owner":"groton-school","description":"Firestore access token repository for Slim OAuth2 API proxy running on Google App Engine","archived":false,"fork":false,"pushed_at":"2025-10-08T17:58:18.000Z","size":83,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-19T00:44:52.778Z","etag":null,"topics":["api","firestore","google-app-engine","slim-4","slim-framework"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/groton-school.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-18T19:48:58.000Z","updated_at":"2025-09-25T14:06:21.000Z","dependencies_parsed_at":"2025-09-19T04:11:22.887Z","dependency_job_id":"7a2508cf-8d80-45f0-a369-4944d623ea47","html_url":"https://github.com/groton-school/slim-oauth2-api-proxy-gae-repository","commit_stats":null,"previous_names":["groton-school/slim-oauth2-api-proxy-gae-repository"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/groton-school/slim-oauth2-api-proxy-gae-repository","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groton-school%2Fslim-oauth2-api-proxy-gae-repository","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groton-school%2Fslim-oauth2-api-proxy-gae-repository/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groton-school%2Fslim-oauth2-api-proxy-gae-repository/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groton-school%2Fslim-oauth2-api-proxy-gae-repository/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/groton-school","download_url":"https://codeload.github.com/groton-school/slim-oauth2-api-proxy-gae-repository/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/groton-school%2Fslim-oauth2-api-proxy-gae-repository/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607135,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"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":["api","firestore","google-app-engine","slim-4","slim-framework"],"created_at":"2025-10-11T18:55:17.246Z","updated_at":"2026-01-20T16:29:06.899Z","avatar_url":"https://github.com/groton-school.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# groton-school/slim-oauth2-api-proxy-gae-repository\n\nFirestore access token repository for Slim OAuth2 API proxy running on Google App Engine\n\n[![Latest Version](https://img.shields.io/packagist/v/groton-school/slim-oauth2-api-proxy-gae-repository.svg)](https://packagist.org/packages/groton-school/slim-oauth2-api-proxy-gae-repository)\n\n## Install\n\n```bash\ncomposer require groton-school/oauth2-api-proxy-gae-repository\n```\n\n## Use\n\nThis is an alternative to the default browser cookie storage for [groton-school/oauth2-api-proxy](https://github.com/groton-school/slim-oauth2-api-proxy#readme), with the advantage that when used in an embedded context (e.g. an LTI placement) with partitioned cookies, users will not need to reauthorize the API access nearly as frequently.\n\n1. [Implement `AbstractUserIdentifierMiddleware`](https://github.com/groton-school/slim-skeleton/blob/df75c2ac2195f74994e9c5e1d5770fd7c2c6807e/src/Application/Middleware/ApiProxyUserIdentifier.php), creating a globally unique user identifier for any given request\n2. [Configure `Firestore\\AccessTokenRepository` for a given Provider in `dependencies.php`](https://github.com/groton-school/slim-skeleton/blob/df75c2ac2195f74994e9c5e1d5770fd7c2c6807e/app/dependencies.php#L70)\n3. [Inject the `AbstractUserIdentifierMiddleware` implementation into the `RouteBuilder::define()` call](https://github.com/groton-school/slim-skeleton/blob/df75c2ac2195f74994e9c5e1d5770fd7c2c6807e/app/routes.php#L23-L28). (In the linked example, the `ApiProxyUserIdentifier` depends on data that must be provided by `Authenticated` first, and `PartitionedSession` is invoked last/outer because we are in an embedded LTI placement context).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgroton-school%2Fslim-oauth2-api-proxy-gae-repository","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgroton-school%2Fslim-oauth2-api-proxy-gae-repository","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgroton-school%2Fslim-oauth2-api-proxy-gae-repository/lists"}