{"id":37127512,"url":"https://github.com/cybozu-go/scim","last_synced_at":"2026-01-14T14:50:57.073Z","repository":{"id":37702254,"uuid":"496895339","full_name":"cybozu-go/scim","owner":"cybozu-go","description":"generic SCIM server/client library in Go","archived":true,"fork":false,"pushed_at":"2022-10-20T01:59:47.000Z","size":691,"stargazers_count":7,"open_issues_count":1,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-08-12T04:23:27.468Z","etag":null,"topics":["go","scim"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cybozu-go.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}},"created_at":"2022-05-27T07:00:13.000Z","updated_at":"2024-01-13T12:30:58.000Z","dependencies_parsed_at":"2022-07-20T12:32:43.831Z","dependency_job_id":null,"html_url":"https://github.com/cybozu-go/scim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cybozu-go/scim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybozu-go%2Fscim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybozu-go%2Fscim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybozu-go%2Fscim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybozu-go%2Fscim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cybozu-go","download_url":"https://codeload.github.com/cybozu-go/scim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cybozu-go%2Fscim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28424001,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T13:30:50.153Z","status":"ssl_error","status_checked_at":"2026-01-14T13:29:08.907Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["go","scim"],"created_at":"2026-01-14T14:50:56.429Z","updated_at":"2026-01-14T14:50:57.059Z","avatar_url":"https://github.com/cybozu-go.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"scim\n====\n[![Go Reference](https://pkg.go.dev/badge/github.com/cybozu-go/scim.svg)](https://pkg.go.dev/github.com/cybozu-go/scim)\n\nSCIM tools for Go (Work In Progress)\n\n* [server](./server) - SCIM server\n* [client](./client) - SCIM client\n* [resource](./resource) - Definition of SCIM resource types\n* [filter](./filter) - Basic SCIM filter parsing, with a simple SQL generator\n\n# SYNOPSIS\n\n\u003c!-- INCLUDE(./examples/client_user_create_example_test.go) --\u003e\n```go\npackage examples_test\n\nimport (\n  \"context\"\n  \"fmt\"\n  \"net/http/httptest\"\n\n  \"github.com/cybozu-go/scim/server\"\n)\n\nfunc ExampleClient_UserCreate() {\n  srv := httptest.NewServer(server.MustNewServer(NewMockBackend()))\n  defer srv.Close()\n\n  // Create a SCIM client: this is wrapped in another function call\n  // to accomodate for debug tracing, but you can replace it with\n  // a client.New() call\n  cl := NewClient(srv.URL)\n\n  user, err := cl.User().Create().\n    DisplayName(`Daisuke Maki`).\n    ExternalID(`lestrrat`).\n    UserName(`lestrrat`).\n    Do(context.TODO())\n  if err != nil {\n    fmt.Printf(\"failed to create user: %s\", err)\n  }\n\n  _ = user\n\n  // OUTPUT:\n  //\n}\n```\nsource: [./examples/client_user_create_example_test.go](https://github.com/cybozu-go/scim/blob/main/./examples/client_user_create_example_test.go)\n\u003c!-- END INCLUDE --\u003e\n\n# TODO\n\n* Finish implementing sample server\n  * Probably move it to github.com/cybozu-go/scim-ent\n* Implement check in CI to diff against generated code\n* Streamline code generation\n\n# Code Generation\n\n## go generate ./resource\n\nGenerates code in `resource`, `sample/ent/schema`, and `sample`. If you made any changes that result in\nchanges to code under `sample/ent/schema`, you need to run `go generate ./sample` as well.\n\nSource file is [`tools/cmd/genresources/objects.yml`](./tools/cmd/genresources/object.yml)\n\n## go generate ./sample\n\nGenerates code for [`ent`](https://entgo.io), based on files under `sample/ent/schema`.\nThis generates code from ent code, and thus have not source file.\n\n## go generate ./client\n\nGenerates client code. Requires some synchronization between `resource`.\n\nSource file is [`tools/cmd/genclient/calls.yml`](./tools/cmd/genclient/calls.yml)\n\n## go generate ./filter\n\nGenerates filter parser code from `filter/parser.go.y` support objects.\n\nSource file is [`tools/cmd/genfilter/objects.yml`](./tools/cmd/genfilter/object.yml)\n\n## go generate .\n\nGenerates options, as well as run all of `go generate` for `resource`, `sample`, `client`, and `filer`\n\nSource files are located in various places, under the name `options.yml`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybozu-go%2Fscim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcybozu-go%2Fscim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcybozu-go%2Fscim/lists"}