Skip to content

getditto/sample-authentication-permissions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

For support, please contact Ditto Support ([email protected]).

Try it on repl.it

See an authentication example running on a server that handles three different permissions levels.

What is in this repository

  • iOS: Basic example for using authentication on the iOS.
  • Flutter: Basic example for using authentication on Flutter.
  • react: Basic example for authentication on Front-end React
  • iOS-Auth0: A more advanced example for integrating iOS with Auth0, the popular platform for third-party authentication.
  • server: Examples for deploying your webhook with server-side authentication.

License

MIT