From 1f3091eb04b774f752853037f7021207b93a5d87 Mon Sep 17 00:00:00 2001 From: krish221997 Date: Tue, 30 Apr 2024 00:29:27 +0530 Subject: [PATCH] Update Readme --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d61708f0..18407c9d 100644 --- a/README.md +++ b/README.md @@ -87,12 +87,12 @@ app.post("/authkit-token", async (request, response) => { Next, we'll add the AuthKit component to your frontend application. -### Install the React SDK +### Install the SDK -In the same fashion, IntegrationOS offers native frontend SDKs in several popular frameworks. This guide will use the popular AuthKit SDK for React. +In the same fashion, IntegrationOS offers native frontend SDKs in several popular frameworks. Compatible with React, Next.js, Vue, Svelte and more. ```shell npm -npm install @integrationos/authkit-react +npm install @integrationos/authkit ``` ### Use the AuthKit Component @@ -100,14 +100,14 @@ npm install @integrationos/authkit-react Next, we need to add the AuthKit component and replace the token URL with the URL of the token endpoint URL you created in Step 1 of this guide. ```javascript -import { useAuthKit } from "@integrationos/authkit-react"; +import { useAuthKit } from "@integrationos/authkit"; const { open } = useAuthKit({ token: { url: "https://api.your-company-name.com/authkit-token", headers: {}, }, - onSuccess: (connections) => {}, + onSuccess: (connection) => {}, onError: (error) => {}, onClose: () => {}, });