{"id":47880419,"url":"https://github.com/getditto/sample-authentication-permissions","last_synced_at":"2026-04-04T01:44:38.003Z","repository":{"id":164065225,"uuid":"639499452","full_name":"getditto/sample-authentication-permissions","owner":"getditto","description":"Ditto permissions examples","archived":false,"fork":false,"pushed_at":"2026-01-05T14:24:32.000Z","size":2118,"stargazers_count":5,"open_issues_count":5,"forks_count":0,"subscribers_count":24,"default_branch":"main","last_synced_at":"2026-04-04T01:44:31.787Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":false,"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/getditto.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-05-11T15:18:41.000Z","updated_at":"2026-01-05T14:24:32.000Z","dependencies_parsed_at":"2023-07-13T04:30:23.695Z","dependency_job_id":"286a7ec9-e7a4-4d51-9240-a291e2354d5c","html_url":"https://github.com/getditto/sample-authentication-permissions","commit_stats":null,"previous_names":["getditto/sample-authentication-permissions"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/getditto/sample-authentication-permissions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getditto%2Fsample-authentication-permissions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getditto%2Fsample-authentication-permissions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getditto%2Fsample-authentication-permissions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getditto%2Fsample-authentication-permissions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/getditto","download_url":"https://codeload.github.com/getditto/sample-authentication-permissions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/getditto%2Fsample-authentication-permissions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31384845,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T01:22:39.193Z","status":"ssl_error","status_checked_at":"2026-04-04T01:22:33.970Z","response_time":107,"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":"2026-04-04T01:44:37.379Z","updated_at":"2026-04-04T01:44:37.981Z","avatar_url":"https://github.com/getditto.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Authentication and Permissions\r\n\r\nHere you will find examples for how to implement authentication and permissions for Ditto, a peer-to-peer database.\r\n\r\nDitto does not come with an identity provider. Using \"Online With Authentication\" requires that you have your own identity provider already set up. Each app can use multiple identity providers.\r\n\r\nThe \"Online With Authentication\" identity type is geared towards apps that will be deployed in real world settings.\r\n\r\n[For more information, read the documentation](https://docs.ditto.live/ios/common/security/authentication)\r\n\r\nFor support, please contact Ditto Support (support@ditto.live).\r\n\r\n## Try it on repl.it\r\n\r\nSee an authentication example running on a server that handles three different permissions levels.\r\n\r\n* https://replit.com/@tester28/DittoPermissionsExample#index.js\r\n\r\n## What is in this repository\r\n\r\n* [iOS](./iOS/Simple/): Basic example for using authentication on iOS.\r\n* [Flutter](./flutter/): Basic example for using authentication on Flutter.\r\n* [react](./react/): Basic example for authentication on Front-end React\r\n* [cpp](./cpp/): Basic example for authentication on C++\r\n* [iOS-Auth0](./iOS/iOS-auth0/): A more advanced example for integrating iOS with Auth0, the popular platform for third-party authentication.\r\n* [server](./server/): Examples for deploying your webhook with server-side authentication.\r\n\r\n## License\r\n\r\nMIT\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetditto%2Fsample-authentication-permissions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgetditto%2Fsample-authentication-permissions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgetditto%2Fsample-authentication-permissions/lists"}