* compress app store images * replace http linkages with https * fix link raycast * update http links to https --------- Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
1 parent
9542116ec1
commit
2334c3bef8
39 files changed
+46
-46
No files matched your search
@@ -29,7 +29,7 @@ In order for atoms to handle scheduling on behalf of your users, you have to cre
|
||||
|
||||
#### What is a “Managed user”?
|
||||
It is a representation of your user within our database containing basic information like email and is used to manage the setup of Google Calendar.
|
||||
After creating a “managed user” you will receive the user ID, an access and a refresh token that are used by atoms to handle scheduling and can be used to modify the “managed user” information, so make sure to store the tokens and the [cal.com](http://cal.com) user ID in your database. Also, you will have to connect each user on your end with the access and refresh tokens by adding new properties on your User model in database that store the tokens, for example.
|
||||
After creating a “managed user” you will receive the user ID, an access and a refresh token that are used by atoms to handle scheduling and can be used to modify the “managed user” information, so make sure to store the tokens and the [cal.com](https://cal.com) user ID in your database. Also, you will have to connect each user on your end with the access and refresh tokens by adding new properties on your User model in database that store the tokens, for example.
|
||||
|
||||
#### What is it not?
|
||||
It's important to clarify that a "managed user" is completely independent of a regular user account on cal.com, meaning you don't need your users to register on cal.com web application.
|
||||
|
||||
@@ -4,13 +4,13 @@ title: "How to sync third party apps"
|
||||
|
||||
<Steps>
|
||||
<Step title="Add the required variables in your `.env` file">
|
||||
1. `CALCOM_WEBHOOK_SECRET`
|
||||
1. `CALCOM_WEBHOOK_SECRET`
|
||||
- You can generate this by running `openssl rand -base64 32`. This is required when sending 3rd party app credentials from your platform to your instance of Cal.com.
|
||||
2. On your self-hosted instance of Cal.com visit settings/admin/apps under an admin account. Here you can enable/disable apps on Cal.com and set the app keys (client id, client secret, etc.). These keys should match the ones on your platform.
|
||||
3. `CALCOM_WEBHOOK_HEADER_NAME`
|
||||
- The header name is expected to contain the webhook secret. The default is `calcom-webhook-secret`
|
||||
3. `CALCOM_WEBHOOK_HEADER_NAME`
|
||||
- The header name is expected to contain the webhook secret. The default is `calcom-webhook-secret`
|
||||
5. `CALCOM_CREDENTIAL_SYNC_ENDPOINT`
|
||||
- The endpoint on your platform that your instance of [Cal.com](http://Cal.com) will make a request to if the 3rd party app credentials are expired.
|
||||
- The endpoint on your platform that your instance of [Cal.com](https://Cal.com) will make a request to if the 3rd party app credentials are expired.
|
||||
5. `CALCOM_APP_CREDENTIAL_ENCRYPTION_KEY`
|
||||
- When sending 3rd party app credentials between your platform and your instance Cal.com, we expect these to be encrypted using AES256. When you encrypt the 3rd party app credentials, ensure the same key is used.
|
||||
|
||||
@@ -23,7 +23,7 @@ title: "How to sync third party apps"
|
||||
// UserId of the Cal.com user
|
||||
userId: number;
|
||||
|
||||
// The app slug that is on Cal.com.
|
||||
// The app slug that is on Cal.com.
|
||||
// Can be found in the Cal.com database in the App table
|
||||
appSlug: string;
|
||||
|
||||
@@ -35,7 +35,7 @@ title: "How to sync third party apps"
|
||||
```
|
||||
</Step>
|
||||
<Step title="Refreshing credentials">
|
||||
When [Cal.com](http://Cal.com) needs to refresh the app credentials it will make a request to `CALCOM_CREDENTIAL_SYNC_ENDPOINT`. The request contains the following.
|
||||
When [Cal.com](https://Cal.com) needs to refresh the app credentials it will make a request to `CALCOM_CREDENTIAL_SYNC_ENDPOINT`. The request contains the following.
|
||||
|
||||
```javascript
|
||||
{
|
||||
@@ -47,7 +47,7 @@ title: "How to sync third party apps"
|
||||
</Step>
|
||||
</Steps>
|
||||
|
||||
|
||||
|
||||
<Note>
|
||||
This only works if you have integrated [Cal.com](http://cal.com/) into your platform. Users **must** consent to give access to your platform, and you are simply using [Cal.com](http://cal.com/)'s code within your platform.
|
||||
</Note>
|
||||
This only works if you have integrated [Cal.com](https://cal.com/) into your platform. Users **must** consent to give access to your platform, and you are simply using [Cal.com](http://cal.com/)'s code within your platform.
|
||||
</Note>
|
||||
Reference in new issue
Block a user