Description Usage Arguments Value
View source: R/generate_auth_code.R
This function should be ran only once to create a user code. It will make a request. Once the request is made, copy the code (it will be valid for 1 minute)
1 2 3 4 5 | generate_auth_code(
client_id,
scope = c("ZohoCreator.report.READ", "ZohoCreator.meta.application.READ"),
redirect_url
)
|
client_id |
A string. The client ID that was generated when you [registered the client application](https://www.zoho.com/creator/help/api/v2/register-client.html) |
scope |
A string. The Zoho creator scope that you want to access. See [scope documentation](https://www.zoho.com/creator/help/api/v2/oauth-overview.html) |
redirect_url |
A url. One of the authorized redirect URIs that you associated while registering the [client application.](https://www.zoho.com/creator/help/api/v2/register-client.html) |
A browser to accept the authorization will prompt. Click OK. Upon Accept the request will be approved and the user will be redirected back to URI of the client application (that was specified in the previous step) with keys in the query string. For example: https://www.zylker.com/callback?*code*=1000.xxxxxxxxe1a88.xxxxxxxx40a3&*location*=us&*accounts-server*=https
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.