mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge branch 'master' into patch-6
This commit is contained in:
@@ -39,7 +39,7 @@ Create a new class that extends the basic OAuth provider abstract class in this
|
||||
|
||||
Note that the class name should start with a capital letter as PHP FIG standards suggest.
|
||||
|
||||
Once a new class is created, you can start to implement your new provider's login flow. The best way to do this corrrectly is to have a look at another provider's implementation and try to follow the same standards.
|
||||
Once a new class is created, you can start to implement your new provider's login flow. The best way to do this correctly is to have a look at another provider's implementation and try to follow the same standards.
|
||||
|
||||
Please mention in your documentation what resources or API docs you used to implement the provider's OAuth protocol.
|
||||
|
||||
@@ -49,4 +49,8 @@ After you finished adding your new provider to Appwrite you should be able to se
|
||||
|
||||
Add credentials and check both a successful and a failed login (where the user rejects integration on provider page).
|
||||
|
||||
You can test your OAuth provider by trying to login using the [OAuth method](https://appwrite.io/docs/auth#oauth) when integrating the Appwrite JS SDK in a demo app.
|
||||
|
||||
Pass your new adapter name as the provider parameter. If login is successful, you will be redirected to your success URL parameter. Otherwise, you will be redirected to your failure URL.
|
||||
|
||||
If everything goes well, just submit a pull request and be ready to respond to any feedback which can arise during our code review.
|
||||
|
||||
@@ -6,11 +6,11 @@ Appwrite environment variables allow you to edit your server setup configuration
|
||||
|
||||
### _APP_ENV
|
||||
|
||||
Set your server running environment. By default the var is set to 'development'. When deploying to production, change it to: 'production'.
|
||||
Set your server running environment. By default, the var is set to 'development'. When deploying to production, change it to: 'production'.
|
||||
|
||||
### _APP_OPTIONS_ABUSE
|
||||
|
||||
Allows you to disable abuse checks and API rate limiting. By default set to 'enabled'. To cancel the abuse checking, set to 'disabled'. It is not recommended to disable this check-in a production environment.
|
||||
Allows you to disable abuse checks and API rate limiting. By default, set to 'enabled'. To cancel the abuse checking, set to 'disabled'. It is not recommended to disable this check-in a production environment.
|
||||
|
||||
### _APP_OPENSSL_KEY_V1
|
||||
|
||||
@@ -28,7 +28,7 @@ To enable this option, pass a list of allowed email domains separated by a comma
|
||||
|
||||
### _APP_CONSOLE_WHITELIST_IPS
|
||||
|
||||
This last option allows you to restrict access to Appwrite console for users sharing the same set op IP addresses. This option is very useful for team working with a VPN service or a company IP.
|
||||
This last option allows you to restrict access to Appwrite console for users sharing the same set of IP addresses. This option is very useful for team working with a VPN service or a company IP.
|
||||
|
||||
To enable/activate this option, pass a list of allowed IP addresses separated by a comma.
|
||||
|
||||
@@ -108,7 +108,7 @@ SMTP server TCP port. Default value is: '25'
|
||||
|
||||
### _APP_SMTP_SECURE
|
||||
|
||||
SMTP secure connection protocol. Empty by default, Change to 'tls' if running on a secure connection.
|
||||
SMTP secure connection protocol. Empty by default, change to 'tls' if running on a secure connection.
|
||||
|
||||
### _APP_SMTP_USERNAME
|
||||
|
||||
|
||||
Reference in New Issue
Block a user