https://github.com/getditto/sample-authentication-permissions
Ditto permissions examples
https://github.com/getditto/sample-authentication-permissions
Last synced: 3 months ago
JSON representation
Ditto permissions examples
- Host: GitHub
- URL: https://github.com/getditto/sample-authentication-permissions
- Owner: getditto
- Created: 2023-05-11T15:18:41.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-05T14:24:32.000Z (5 months ago)
- Last Synced: 2026-04-04T01:44:31.787Z (3 months ago)
- Language: C++
- Homepage:
- Size: 2.02 MB
- Stars: 5
- Watchers: 24
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Authentication and Permissions
Here you will find examples for how to implement authentication and permissions for Ditto, a peer-to-peer database.
Ditto 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.
The "Online With Authentication" identity type is geared towards apps that will be deployed in real world settings.
[For more information, read the documentation](https://docs.ditto.live/ios/common/security/authentication)
For support, please contact Ditto Support (support@ditto.live).
## Try it on repl.it
See an authentication example running on a server that handles three different permissions levels.
* https://replit.com/@tester28/DittoPermissionsExample#index.js
## What is in this repository
* [iOS](./iOS/Simple/): Basic example for using authentication on iOS.
* [Flutter](./flutter/): Basic example for using authentication on Flutter.
* [react](./react/): Basic example for authentication on Front-end React
* [cpp](./cpp/): Basic example for authentication on C++
* [iOS-Auth0](./iOS/iOS-auth0/): A more advanced example for integrating iOS with Auth0, the popular platform for third-party authentication.
* [server](./server/): Examples for deploying your webhook with server-side authentication.
## License
MIT