import { Novu } from "@novu/api";const novu = new Novu({ apiKey: "<YOUR_API_KEY_HERE>",});async function run() { const result = await novu.subscribers.authentication.chatAccessOauthCallBack({ subscriberId: "<value>", providerId: "<value>", code: "<value>", hmacHash: "<value>", environmentId: "<value>", }); // Handle the result console.log(result)}run();
Copy
Ask AI
{}
Subscribers
Handle providers oauth redirect
GET
/
v1
/
subscribers
/
{subscriberId}
/
credentials
/
{providerId}
/
oauth
/
callback
SubscribersController_chatOauthCallback
Copy
Ask AI
import { Novu } from "@novu/api";const novu = new Novu({ apiKey: "<YOUR_API_KEY_HERE>",});async function run() { const result = await novu.subscribers.authentication.chatAccessOauthCallBack({ subscriberId: "<value>", providerId: "<value>", code: "<value>", hmacHash: "<value>", environmentId: "<value>", }); // Handle the result console.log(result)}run();
Copy
Ask AI
{}
Enter your API key in the Authorization field like the example shown below:
E.g ApiKey 18d2e625f05d80e
Assistant
Responses are generated using AI and may contain mistakes.