{"id":29859337,"url":"https://github.com/f3ndot/go-memberstack-admin","last_synced_at":"2025-07-30T02:12:57.001Z","repository":{"id":255441177,"uuid":"851281417","full_name":"f3ndot/go-memberstack-admin","owner":"f3ndot","description":"A go port of npm's `@memberstack/admin`.","archived":false,"fork":false,"pushed_at":"2024-09-03T13:31:46.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-20T10:34:32.479Z","etag":null,"topics":["go","golang","memberstack"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/f3ndot/go-memberstack-admin","language":"Go","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/f3ndot.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":"2024-09-02T19:33:27.000Z","updated_at":"2024-09-03T13:31:49.000Z","dependencies_parsed_at":"2024-09-03T06:50:56.618Z","dependency_job_id":"85d3e00e-32a0-4047-ae68-beb159297917","html_url":"https://github.com/f3ndot/go-memberstack-admin","commit_stats":null,"previous_names":["f3ndot/go-memberstack-admin"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/f3ndot/go-memberstack-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f3ndot%2Fgo-memberstack-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f3ndot%2Fgo-memberstack-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f3ndot%2Fgo-memberstack-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f3ndot%2Fgo-memberstack-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/f3ndot","download_url":"https://codeload.github.com/f3ndot/go-memberstack-admin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/f3ndot%2Fgo-memberstack-admin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267797765,"owners_count":24145710,"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-07-30T02:00:09.044Z","response_time":70,"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":["go","golang","memberstack"],"created_at":"2025-07-30T02:12:56.401Z","updated_at":"2025-07-30T02:12:56.988Z","avatar_url":"https://github.com/f3ndot.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go-memberstack-admin\n\n[![build](https://github.com/f3ndot/go-memberstack-admin/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/f3ndot/go-memberstack-admin/actions/workflows/build.yml)\n\nA [go](http://www.golang.org/) (or 'golang' for search engine friendliness) port of npm's [`@memberstack/admin`](https://www.npmjs.com/package/@memberstack/admin).\n\n🐣 This is baby's first go module, so please: PR's welcome! 🙏\n\n## Install\n\n```bash\ngo get github.com/f3ndot/go-memberstack-admin\n```\n\n```go\nimport \"github.com/f3ndot/go-memberstack-admin/admin\"\n```\n\n## Usage\n\n_Check out [cmd/examples](./cmd/examples/) for detailed usage_\n\n### Verify Token\n\nTo verify a member's token:\n\n```go\na := admin.NewMemberstackAdmin(admin.Options{\n\tMemberstackAppId: \"app_clzb...\"\n})\ntoken, err := a.VerifyToken(\"eyJhbGc...jEifQ\")\n\nfmt.Println(\"is valid:\", token.Valid, \", error:\", err)\nfmt.Println(\"member ID:\", admin.GetMemberstackClaims(token).MemberID)\n```\n\nOr via the examples:\n\n```bash\ngo run cmd/examples/verify_token.go -aud app_clzb... eyJhbGc...jEifQ\n```\n\n## TODO List\n\n- [x] Tests 😅\n- [ ] Feature parity with `@memberstack/admin`\n- [x] Add own errors for fetching JWKS failure conditions\n- [ ] Improve JWKS lifecycle (refreshing)\n- [ ] Maybe: use [lestrrat-go/jwx](https://github.com/lestrrat-go/jwx) over MicahParks' keyfunc and jwkset\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff3ndot%2Fgo-memberstack-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ff3ndot%2Fgo-memberstack-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ff3ndot%2Fgo-memberstack-admin/lists"}