-This repository contains the source code of JavaScript SDKs that can be used to build applications integrated with Asgardeo. If you have any questions, please reach out to us through one of the following channels:
+
+ Design secure, secure, and scalable applications with Asgardeo's JavaScript SDKs.
+
+
+## 🚀 Get started with Asgardeo
+
+Follow these simple steps to get started with Asgardeo:
-[](https://stackoverflow.com/questions/tagged/wso2is)
-[](https://discord.gg/wso2)
-[](https://twitter.com/intent/follow?screen_name=wso2)
+1. Create an account in Asgardeo 👉 [Sign Up](https://asgardeo.io/signup?visitor_id=685a48bc57b3b5.46411343&utm_source=site&utm_medium=organic)
+2. Refer to our **Quick Start Guides** and get started in minutes.
+ - `React Quick Start`: [React Quick Start](https://wso2.com/asgardeo/docs/quick-starts/react/)
+ - `Next.js Quick Start`: [Next.js Quick Start](https://wso2.com/asgardeo/docs/quick-starts/nextjs/)
## Packages
@@ -37,15 +40,19 @@ This repository contains the source code of JavaScript SDKs that can be used to
| [](./packages/express/) | Express.js SDK for server-side integration |
| [](./packages/nuxt/) | Nuxt.js SDK for building applications with Asgardeo |
| [](./packages/react/) | React SDK for building applications with Asgardeo |
+| [](./packages/react-router/) | Supplementary React Router bindings |
| [](./packages/vue/) | Vue.js SDK for building applications with Asgardeo |
## Contribute
+
Please read [Contributing Guide](CONTRIBUTING.md) for details on how to contribute to Asgardeo JavaScript SDKs. Refer to [General Contribution Guidelines](http://wso2.github.io/) for details on our code of conduct, and the process for submitting pull requests to us.
### Reporting issues
-We encourage you to report issues, improvements, and feature requests creating [Github Issues](https://github.com/asgardeo/web-ui-sdks/issues).
+
+We encourage you to report issues, improvements, and feature requests creating [Github Issues](https://github.com/asgardeo/javascript/issues).
**Important**: Please be advised that security issues MUST be reported to security@wso2.com, not as GitHub issues, in order to reach the proper audience. We strongly advise following the WSO2 Security Vulnerability Reporting Guidelines when reporting the security issues.
## License
+
This project is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.
diff --git a/docs/.gitignore b/docs/.gitignore
deleted file mode 100644
index 2b416869..00000000
--- a/docs/.gitignore
+++ /dev/null
@@ -1,138 +0,0 @@
-# Logs
-logs
-*.log
-npm-debug.log*
-yarn-debug.log*
-yarn-error.log*
-lerna-debug.log*
-.pnpm-debug.log*
-
-# Diagnostic reports (https://nodejs.org/api/report.html)
-report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
-
-# Runtime data
-pids
-*.pid
-*.seed
-*.pid.lock
-
-# Directory for instrumented libs generated by jscoverage/JSCover
-lib-cov
-
-# Coverage directory used by tools like istanbul
-coverage
-*.lcov
-
-# nyc test coverage
-.nyc_output
-
-# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
-.grunt
-
-# Bower dependency directory (https://bower.io/)
-bower_components
-
-# node-waf configuration
-.lock-wscript
-
-# Compiled binary addons (https://nodejs.org/api/addons.html)
-build/Release
-
-# Dependency directories
-node_modules/
-jspm_packages/
-
-# Snowpack dependency directory (https://snowpack.dev/)
-web_modules/
-
-# TypeScript cache
-*.tsbuildinfo
-
-# Optional npm cache directory
-.npm
-
-# Optional eslint cache
-.eslintcache
-
-# Optional stylelint cache
-.stylelintcache
-
-# Microbundle cache
-.rpt2_cache/
-.rts2_cache_cjs/
-.rts2_cache_es/
-.rts2_cache_umd/
-
-# Optional REPL history
-.node_repl_history
-
-# Output of 'npm pack'
-*.tgz
-
-# Yarn Integrity file
-.yarn-integrity
-
-# dotenv environment variable files
-.env
-.env.development.local
-.env.test.local
-.env.production.local
-.env.local
-
-# parcel-bundler cache (https://parceljs.org/)
-.cache
-.parcel-cache
-
-# Next.js build output
-.next
-out
-
-# Nuxt.js build / generate output
-.nuxt
-dist
-
-# Gatsby files
-.cache/
-# Comment in the public line in if your project uses Gatsby and not Next.js
-# https://nextjs.org/blog/next-9-1#public-directory-support
-# public
-
-# vuepress build output
-.vuepress/dist
-
-# vuepress v2.x temp and cache directory
-.temp
-.cache
-
-# Docusaurus cache and generated files
-.docusaurus
-
-# Serverless directories
-.serverless/
-
-# FuseBox cache
-.fusebox/
-
-# DynamoDB Local files
-.dynamodb/
-
-# TernJS port file
-.tern-port
-
-# Stores VSCode versions used for testing VSCode extensions
-.vscode-test
-
-# yarn v2
-.yarn/cache
-.yarn/unplugged
-.yarn/build-state.yml
-.yarn/install-state.gz
-.pnp.*
-
-# misc
-.DS_Store
-*.pem
-
-# .vitepress
-src/.vitepress/cache
-src/.vitepress/dist
diff --git a/docs/assets/images/banner.png b/docs/assets/images/banner.png
new file mode 100644
index 00000000..ed9c83ce
Binary files /dev/null and b/docs/assets/images/banner.png differ
diff --git a/docs/package.json b/docs/package.json
deleted file mode 100644
index c4a5d72a..00000000
--- a/docs/package.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
- "private": true,
- "name": "@asgardeo/web-ui-sdks-docs",
- "version": "0.1.0",
- "description": "Official documentation for the Asgardeo Web UI SDKs",
- "type": "module",
- "author": "WSO2",
- "license": "Apache-2.0",
- "files": [
- ".vitepress/dist"
- ],
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/docs#readme",
- "bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
- "directory": "docs"
- },
- "keywords": [
- "asgardeo",
- "web-sdks",
- "api-based-auth",
- "docs"
- ],
- "scripts": {
- "docs:dev": "vitepress dev src",
- "docs:build": "vitepress build src",
- "docs:preview": "vitepress preview src"
- },
- "devDependencies": {
- "vitepress": "^1.2.2"
- },
- "publishConfig": {
- "access": "restricted"
- }
-}
diff --git a/docs/src/.vitepress/config.mts b/docs/src/.vitepress/config.mts
deleted file mode 100644
index a4b79bb2..00000000
--- a/docs/src/.vitepress/config.mts
+++ /dev/null
@@ -1,102 +0,0 @@
-/**
- * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com).
- *
- * WSO2 LLC. licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import { defineConfig } from "vitepress";
-
-export default defineConfig({
- base: "/web-ui-sdks/",
- title: "Asgardeo Web SDKs",
- description: "Official Documentation for Asgardeo Web SDKs",
- head: [["link", { rel: "icon", href: "/web-ui-sdks/asgardeo-dark.svg" }]],
- themeConfig: {
- search: {
- provider: "local",
- },
- logo: {
- light: "/asgardeo-light.svg",
- dark: "/asgardeo-dark.svg",
- },
- nav: [
- { text: "Home", link: "/" },
- { text: "JS", link: "/js/introduction" },
- { text: "React", link: "/react/introduction" },
- ],
-
- sidebar: [
- {
- text: "JS",
- items: [
- { text: "Introduction", link: "/js/introduction" },
- { text: "APIs", link: "/js/apis" },
- ],
- },
- {
- text: "React",
- items: [
- {
- text: "Introduction",
- link: "/react/introduction",
- },
- {
- text: "Components",
- link: "/react/components",
- items: [
- {
- text: "Asgardeo Provider",
- link: "/react/components/asgardeo-provider",
- },
- {
- text: "SignIn",
- link: "/react/components/sign-in",
- },
- {
- text: "SignOutButton",
- link: "/react/components/sign-out-button",
- },
- {
- text: "SignedIn",
- link: "/react/components/signed-in",
- },
- {
- text: "SignedOut",
- link: "/react/components/signed-out",
- },
- ],
- },
- {
- text: "Custom Hooks",
- items: [
- {
- text: "useAuthentication",
- link: "/react/hooks/use-authentication",
- },
- {
- text: "useOn",
- link: "/react/hooks/use-on",
- },
- ],
- },
- ],
- },
- ],
-
- socialLinks: [
- { icon: "github", link: "https://github.com/asgardeo/web-ui-sdks" },
- ],
- },
-});
diff --git a/docs/src/.vitepress/theme/index.ts b/docs/src/.vitepress/theme/index.ts
deleted file mode 100644
index 16a22c9c..00000000
--- a/docs/src/.vitepress/theme/index.ts
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com).
- *
- * WSO2 LLC. licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-// https://vitepress.dev/guide/custom-theme
-import { h } from "vue";
-import type { Theme } from "vitepress";
-import DefaultTheme from "vitepress/theme";
-import "./style.css";
-
-export default {
- extends: DefaultTheme,
- Layout: () => {
- return h(DefaultTheme.Layout, null, {
- // https://vitepress.dev/guide/extending-default-theme#layout-slots
- });
- },
- enhanceApp({ app, router, siteData }) {
- // ...
- },
-} satisfies Theme;
diff --git a/docs/src/.vitepress/theme/style.css b/docs/src/.vitepress/theme/style.css
deleted file mode 100644
index 70f2228b..00000000
--- a/docs/src/.vitepress/theme/style.css
+++ /dev/null
@@ -1,155 +0,0 @@
-/*
- * Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com).
- *
- * WSO2 LLC. licenses this file to you under the Apache License,
- * Version 2.0 (the "License"); you may not use this file except
- * in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/**
- * Customize default theme styling by overriding CSS variables:
- * https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css
- */
-
-/**
- * Colors
- *
- * Each colors have exact same color scale system with 3 levels of solid
- * colors with different brightness, and 1 soft color.
- *
- * - `XXX-1`: The most solid color used mainly for colored text. It must
- * satisfy the contrast ratio against when used on top of `XXX-soft`.
- *
- * - `XXX-2`: The color used mainly for hover state of the button.
- *
- * - `XXX-3`: The color for solid background, such as bg color of the button.
- * It must satisfy the contrast ratio with pure white (#ffffff) text on
- * top of it.
- *
- * - `XXX-soft`: The color used for subtle background such as custom container
- * or badges. It must satisfy the contrast ratio when putting `XXX-1` colors
- * on top of it.
- *
- * The soft color must be semi transparent alpha channel. This is crucial
- * because it allows adding multiple "soft" colors on top of each other
- * to create a accent, such as when having inline code block inside
- * custom containers.
- *
- * - `default`: The color used purely for subtle indication without any
- * special meanings attched to it such as bg color for menu hover state.
- *
- * - `brand`: Used for primary brand colors, such as link text, button with
- * brand theme, etc.
- *
- * - `tip`: Used to indicate useful information. The default theme uses the
- * brand color for this by default.
- *
- * - `warning`: Used to indicate warning to the users. Used in custom
- * container, badges, etc.
- *
- * - `danger`: Used to show error, or dangerous message to the users. Used
- * in custom container, badges, etc.
- * -------------------------------------------------------------------------- */
-
- :root {
- --vp-c-default-1: var(--vp-c-gray-1);
- --vp-c-default-2: var(--vp-c-gray-2);
- --vp-c-default-3: var(--vp-c-gray-3);
- --vp-c-default-soft: var(--vp-c-gray-soft);
-
- --vp-c-brand-1: #fa7b3f; /* Replace with your desired color */
- --vp-c-brand-2: #f78a57; /* Replace with your desired color */
- --vp-c-brand-3: #ffae88; /* Replace with your desired color */
- --vp-c-brand-soft: var(--vp-c-indigo-soft);
-
- --vp-c-tip-1: #fa7b3f; /* Replace with your desired color */
- --vp-c-tip-2: #f78a57; /* Replace with your desired color */
- --vp-c-tip-3: #ffae88;
- --vp-c-tip-soft: var(--vp-c-brand-soft);
-
- --vp-c-warning-1: var(--vp-c-yellow-1);
- --vp-c-warning-2: var(--vp-c-yellow-2);
- --vp-c-warning-3: var(--vp-c-yellow-3);
- --vp-c-warning-soft: var(--vp-c-yellow-soft);
-
- --vp-c-danger-1: var(--vp-c-red-1);
- --vp-c-danger-2: var(--vp-c-red-2);
- --vp-c-danger-3: var(--vp-c-red-3);
- --vp-c-danger-soft: var(--vp-c-red-soft);
-}
-
-/**
- * Component: Button
- * -------------------------------------------------------------------------- */
-
-:root {
- --vp-button-brand-border: transparent;
- --vp-button-brand-text: var(--vp-c-white);
- --vp-button-brand-bg: var(--vp-c-brand-3);
- --vp-button-brand-hover-border: transparent;
- --vp-button-brand-hover-text: var(--vp-c-white);
- --vp-button-brand-hover-bg: var(--vp-c-brand-2);
- --vp-button-brand-active-border: transparent;
- --vp-button-brand-active-text: var(--vp-c-white);
- --vp-button-brand-active-bg: var(--vp-c-brand-1);
-}
-
-
-/**
- * Component: Home
- * -------------------------------------------------------------------------- */
-
-:root {
- --vp-home-hero-name-color: transparent;
- --vp-home-hero-name-background: -webkit-linear-gradient(77.74deg,#eb4f63 11.16%,#fa7b3f 99.55%);
-
- --vp-home-hero-image-background-image: -webkit-linear-gradient(77.74deg,#eb4f6497 11.16%,#fa7a3f97 99.55%);
- --vp-home-hero-image-filter: blur(44px);
-}
-
-@media (prefers-color-scheme: light) {
- :root {
- --vp-home-hero-image-background-image: transparent !important;
- }
- }
-
-@media (min-width: 640px) {
- :root {
- --vp-home-hero-image-filter: blur(56px);
- }
-}
-
-@media (min-width: 960px) {
- :root {
- --vp-home-hero-image-filter: blur(68px);
- }
-}
-
-/**
- * Component: Custom Block
- * -------------------------------------------------------------------------- */
-
-:root {
- --vp-custom-block-tip-border: transparent;
- --vp-custom-block-tip-text: var(--vp-c-text-1);
- --vp-custom-block-tip-bg: var(--vp-c-brand-soft);
- --vp-custom-block-tip-code-bg: var(--vp-c-brand-soft);
-}
-
-/**
- * Component: Algolia
- * -------------------------------------------------------------------------- */
-
-.DocSearch {
- --docsearch-primary-color: var(--vp-c-brand-1) !important;
-}
diff --git a/docs/src/index.md b/docs/src/index.md
deleted file mode 100644
index dd2c7aec..00000000
--- a/docs/src/index.md
+++ /dev/null
@@ -1,51 +0,0 @@
----
-# Copyright (c) 2024, WSO2 LLC. (https://www.wso2.com).
-#
-# WSO2 LLC. licenses this file to you under the Apache License,
-# Version 2.0 (the "License"); you may not use this file except
-# in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied. See the License for the
-# specific language governing permissions and limitations
-# under the License.
-
-layout: home
-
-hero:
- name: "Asgardeo Web SDKs"
- text: "Official Docs"
- tagline: Welcome to our comprehensive documentation site for Web SDKs for Asgardeo! Here, you'll find everything you need to seamlessly integrate Asgardeo's authentication and identity management solutions into your application.
- image:
- light: /web-ui-sdks-light.svg
- dark: /web-ui-sdks-dark.svg
- alt: web-ui-sdks
- # actions:
- # - theme: brand
- # text: Markdown Examples
- # link: /markdown-examples
- # - theme: alt
- # text: API Examples
- # link: /api-examples
-
-features:
- - icon:
- src: /js.png
- title: JS
- details: Javascript SDK for asgardeo
- link: js/introduction.md
- - icon:
- src: /react.svg
- title: React
- details: React SDK for asgardeo
- link: react/introduction.md
- - icon:
- src: /angular.png
- title: Angular
- details: Angular SDK for asgardeo
----
diff --git a/docs/src/js/apis.md b/docs/src/js/apis.md
deleted file mode 100644
index e3fe9c28..00000000
--- a/docs/src/js/apis.md
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-# API functions
-
-## authorize
-
-The `authorize` function is used to authorize the user. It makes a POST request to the authorization endpoint with the necessary parameters and returns the authorization response.
-
-### Usage
-
-First, import the `authorize` function:
-
-```ts
-import { authorize } from "@asgardeo/js";
-```
-
-Then, you can use it in your component:
-
-```ts
-const authorizeUser = async () => {
- try {
- const response = await authorize();
- console.log(response);
- } catch (error) {
- console.error("Authorization failed", error);
- }
-};
-
-authorizeUser();
-```
-
-### Return Value
-
-The `authorize` function returns a promise that resolves with the authorization response. This response is an object of type `AuthApiResponse`.
-
-If the authorization request fails for any reason, the function will throw an `AsgardeoUIException`.
-
-Here's an example of how to handle the returned promise:
-
-```ts
-authorize()
- .then((response) => {
- console.log("Authorization successful", response);
- })
- .catch((error) => {
- console.error("Authorization failed", error);
- });
-```
-
-## authenticate
-
-The `authenticate` function is used to send an authentication request to the authentication API. It accepts an object with the authentication request body and returns the authentication API response.
-
-### Usage
-
-First, import the `authenticate` function:
-
-```ts
-import { authenticate } from "@asgardeo/auth-react";
-```
-
-Then, you can use it in your component:
-
-```ts
-const authenticateUser = async () => {
- try {
- const response = await authenticate({
- /* authentication request body */
- });
- console.log(response);
- } catch (error) {
- console.error("Authentication failed", error);
- }
-};
-
-authenticateUser();
-```
-
-### Params
-
-The `authenticate` function accepts an object with the authentication request body. This object should match the `AuthenticateProps` type.
-
-### Return Value
-
-The `authenticate` function returns a promise that resolves with the authentication API response. This response is an object of type `AuthApiResponse`.
-
-If the authentication request fails for any reason, the function will throw an `AsgardeoUIException`.
-
-Here's an example of how to handle the returned promise:
-
-```ts
-authenticate({
- /* authentication request body */
-})
- .then((response) => {
- console.log("Authentication successful", response);
- })
- .catch((error) => {
- console.error("Authentication failed", error);
- });
-```
diff --git a/docs/src/js/introduction.md b/docs/src/js/introduction.md
deleted file mode 100644
index 6517decd..00000000
--- a/docs/src/js/introduction.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-# Asgardeo JS SDK
-
-The Asgardeo JS SDK enables some core features required for api based authentication.
-
-This SDK assists you in creating custom login flows directly within the applications themselves, without relying on browser redirects, thereby prioritizing user experience.
-
-## Getting Started
-
-### Prerequisites
-
-- [Register to Asgardeo and create an organization if you don't already have one](https://wso2.com/asgardeo/docs/get-started/create-asgardeo-account/). The organization name you choose will be referred to as `` throughout this document.
-- [Register a standard based application in Asgardeo to integrate your application with Asgardeo](https://wso2.com/asgardeo/docs/guides/applications/register-standard-based-app/). You will obtain a `client_id` from Asgardeo for your application which will need to be embedded later for the SDK integration. Also note the redirect URI that you used to create the application, this is also required for the SDK integration.
-- In the created application, go to the **Advanced** tab and [enable the application native authentication for your application](https://is.docs.wso2.com/en/latest/guides/authentication/add-application-native-login/#enable-app-native-authentication).
-
-### Installing the SDK
-
-To install the Asgardeo JS SDK, navigate to your project directory in your terminal and run the following command:
-
-with pnpm:
-
-```bash
-pnpm install @asgardeo/js
-```
-
-With npm:
-
-```bash
-npm install @asgardeo/js
-```
-
-With yarn:
-
-```bash
-yarn add @asgardeo/js
-```
diff --git a/docs/src/public/angular.png b/docs/src/public/angular.png
deleted file mode 100644
index 529af9f3..00000000
Binary files a/docs/src/public/angular.png and /dev/null differ
diff --git a/docs/src/public/asgardeo-dark.svg b/docs/src/public/asgardeo-dark.svg
deleted file mode 100644
index dd938ddf..00000000
--- a/docs/src/public/asgardeo-dark.svg
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
diff --git a/docs/src/public/asgardeo-light.svg b/docs/src/public/asgardeo-light.svg
deleted file mode 100644
index 27439504..00000000
--- a/docs/src/public/asgardeo-light.svg
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
-
diff --git a/docs/src/public/js.png b/docs/src/public/js.png
deleted file mode 100644
index b5bd536b..00000000
Binary files a/docs/src/public/js.png and /dev/null differ
diff --git a/docs/src/public/react.svg b/docs/src/public/react.svg
deleted file mode 100644
index 6c87de9b..00000000
--- a/docs/src/public/react.svg
+++ /dev/null
@@ -1 +0,0 @@
-
\ No newline at end of file
diff --git a/docs/src/public/web-ui-sdks-dark.svg b/docs/src/public/web-ui-sdks-dark.svg
deleted file mode 100644
index f9147f72..00000000
--- a/docs/src/public/web-ui-sdks-dark.svg
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
diff --git a/docs/src/public/web-ui-sdks-light.svg b/docs/src/public/web-ui-sdks-light.svg
deleted file mode 100644
index cf7f5dff..00000000
--- a/docs/src/public/web-ui-sdks-light.svg
+++ /dev/null
@@ -1,81 +0,0 @@
-
-
-
diff --git a/docs/src/react/components.md b/docs/src/react/components.md
deleted file mode 100644
index 99554964..00000000
--- a/docs/src/react/components.md
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-# Components Overview
-
-## UI Components
-
-- [SignIn](./components/sign-in): A component that provides sign-in forms as configured in the login flow of asgardeo.
-
-- [SignOutButton](./components/sign-out-button): A component that provides a sign-out button. When clicked, it initiates the sign-out process.
-
-## Control Components
-
-- [SignedIn](./components/signed-in): A component that renders its children only when the user is signed in.
-
-- [SignedOut](./components/signed-out.md): A component that renders its children only when the user is not signed in.
-
-## Provider Component
-
-- [AsgardeoProvider](./components/asgardeo-provider): A context provider component that provides an Asgardeo context to all its children. It takes a `UIAuthConfig` object as a prop, which includes the configuration for the Asgardeo context.
diff --git a/docs/src/react/components/asgardeo-provider.md b/docs/src/react/components/asgardeo-provider.md
deleted file mode 100644
index c21ecf8d..00000000
--- a/docs/src/react/components/asgardeo-provider.md
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-# AsgardeoProvider
-
-The `AsgardeoProvider` is a context provider component provided by the Asgardeo React SDK. It allows you to access the authentication context throughout your application. This context includes user information, authentication state, and methods to handle authentication actions such as sign-in, sign-out, and refresh tokens.
-
-## Usage
-
-First, import the `AsgardeoProvider` from the Asgardeo React SDK:
-
-```ts
-import { AsgardeoProvider } from "@asgardeo/react";
-
-
-
-
-```
-
-- To use `AsgardeoProvider`, you need to pass a `config` prop. This prop should be an object of type `UIAuthConfig`, which contains the following properties:
-
- #### Required Parameters
-
- - `baseURL`: The base URL of asgardeo.
-
- - `afterSignInUrl`: The URL where users should be redirected after they sign in. This should be a page in your application.
-
- - `clientId`: The ID of your application. You get this when you register your application with Asgardeo.
-
- - `scope`: The scope of the access request. This is a list of scopes separated by spaces. Scopes allow your application to request access only to the resources it needs, and also allow users to control how much access they grant to your application.
-
- #### Optional Parameters
-
- - `name`: The name of your application. This is used for application specific branding.
-
- - `type`: The branding preference for your application. This should be one of the values from the `BrandingPreferenceTypes` enum: "APP", "CUSTOM", or "ORG".
-
- - `enablePKCE`: A boolean indicating whether to enable Proof Key for Code Exchange (PKCE). This is a security feature that helps prevent interception attacks during the authorization process.
diff --git a/docs/src/react/components/sign-in.md b/docs/src/react/components/sign-in.md
deleted file mode 100644
index 78d733bc..00000000
--- a/docs/src/react/components/sign-in.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-# SignIn
-
-The `SignIn` component provides sign-in forms as configured in the login flow of Asgardeo. When the `SignIn` component renders,
-it initiates the sign-in process.
-
-## Usage
-
-First, import the `SignIn` component from the Asgardeo React SDK:
-
-```ts
-import { SignIn } from "@asgardeo/react";
-
-
-```
-
-## Props
-
-The `SignIn` component accepts the following props:
-
-- `branding`: A string that specifies the branding preference for the sign-in form.
-
-- `showLogo`: A boolean that determines whether the logo should be displayed on the sign-in form. If set to `false`, the logo will not be displayed. Defaults to `true`.
-
-- `showFooter`: A boolean that determines whether the footer should be displayed on the sign-in form. If set to `false`, the footer will not be displayed. Defaults to `true`.
-
-- `showSignUp`: A boolean that determines whether the signup link should be displayed on the sign-in form. If set to `true`, the signup link will be displayed. Defaults to `false`.
-
-Here's an example of how to use these props:
-
-```ts
-
-```
diff --git a/docs/src/react/components/sign-out-button.md b/docs/src/react/components/sign-out-button.md
deleted file mode 100644
index 09a1eb00..00000000
--- a/docs/src/react/components/sign-out-button.md
+++ /dev/null
@@ -1,35 +0,0 @@
-
-
-# SignOutButton
-
-The `SignOutButton` component renders a sign-out button that, when clicked, initiates the sign-out process.
-
-## Usage
-
-First, import the `SignOutButton` component from the Asgardeo React SDK:
-
-```ts
-import { SignOutButton } from "@asgardeo/react";
-```
-
-Then, you can use it in your component:
-
-```ts
-
-```
diff --git a/docs/src/react/components/signed-in.md b/docs/src/react/components/signed-in.md
deleted file mode 100644
index 895db89c..00000000
--- a/docs/src/react/components/signed-in.md
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-# SignedIn
-
-The `SignedIn` is a control component that renders its children only when the user is signed in.
-
-## Usage
-
-First, import the `SignedIn` component from the Asgardeo React SDK:
-
-```javascript
-import { SignedIn } from "@asgardeo/react";
-```
-
-Then you can use it in your component:
-
-```javascript
-
-
You are signed in!
-
-```
-
-## Props
-
-The `SignedIn` component accepts the following prop:
-
-- `fallback`: A React element that will be rendered if the user is not signed in. If not provided, nothing will be rendered when the user is not signed in.
-
-Here's an example of how to use the `fallback` prop:
-
-```javascript
-Please sign in.}>
-
You are signed in!
-
-```
diff --git a/docs/src/react/components/signed-out.md b/docs/src/react/components/signed-out.md
deleted file mode 100644
index 7b1a5b95..00000000
--- a/docs/src/react/components/signed-out.md
+++ /dev/null
@@ -1,55 +0,0 @@
-
-
-# SignedOut
-
-The `SignedOut` is a control component that renders its children only when the user is not signed in.
-
-## Usage
-
-First, import the `SignedOut` component from the Asgardeo React SDK:
-
-```javascript
-import { SignedOut } from "@asgardeo/react";
-```
-
-Then, you can use it in your component:
-
-```javascript
-
-
You are not signed in!
-
-```
-
-In this example, the paragraph will only be rendered if the user is not signed in.
-
-## Props
-
-The `SignedOut` component accepts the following prop:
-
-- `fallback`: A React element that will be rendered if the user is signed in. If not provided, nothing will be rendered when the user is signed in.
-
-Here's an example of how to use the `fallback` prop:
-
-```javascript
-You are signed in!}>
-
Please sign in.
-
-```
-
-In this example, if the user is signed in, the message "You are signed in!" will be displayed.
diff --git a/docs/src/react/hooks/use-authentication.md b/docs/src/react/hooks/use-authentication.md
deleted file mode 100644
index 1d13626c..00000000
--- a/docs/src/react/hooks/use-authentication.md
+++ /dev/null
@@ -1,62 +0,0 @@
-
-
-# useAuthentication
-
-`useAuthentication` is a custom hook provided by the Asgardeo React SDK. It provides access to the authentication context and returns an object containing the current user, the authentication status, the access token, and a sign out function.
-
-## Usage
-
-First, import the `useAuthentication` hook from the Asgardeo React SDK:
-
-```ts
-import { useAuthentication } from "@asgardeo/react";
-```
-
-Then, you can use it in your component:
-
-```ts
-const { user, isSignedIn, accessToken, signOut } = useAuthentication();
-```
-
-## Return Value
-
-The `useAuthentication` hook returns an object with the following properties:
-
-- `user`: The current user. This is an object that contains information about the user.
-
-- `isSignedIn`: A boolean that indicates whether the user is authenticated.
-
-- `accessToken`: The access token for the authenticated user.
-
-- `signOut`: A function that initiates the sign-out process. When called, it will sign out the user.
-
-Here's an example of how to use these values:
-
-```ts
-const { user, isSignedIn, signOut } = useAuthentication();
-
-if (isSignedIn) {
- console.log(`User ${user.username} is authenticated.`);
-} else {
- console.log("User is not authenticated.");
-}
-
-// To sign out the user
-signOut();
-```
diff --git a/docs/src/react/hooks/use-on.md b/docs/src/react/hooks/use-on.md
deleted file mode 100644
index 624674c2..00000000
--- a/docs/src/react/hooks/use-on.md
+++ /dev/null
@@ -1,61 +0,0 @@
-
-
-# useOn
-
-`useOn` is a custom hook that allows you to set callbacks for specific events in the authentication lifecycle.
-
-## Usage
-
-First, import the `useOn` hook from the Asgardeo React SDK:
-
-```ts
-import { useOn, Hooks } from "@asgardeo/react";
-```
-
-Then, you can use it in your component:
-
-```ts
-useOn({
- event: Hooks.SignIn,
- callback: () => {
- console.log("User signed in");
- },
-});
-```
-
-## Props
-
-The `useOn` hook accepts an object with the following properties:
-
-- `event`: The event for which the callback should be set. This should be one of the values from the `Hooks` enum, which includes `Hooks.SignIn` and `Hooks.SignOut`.
-
-- `callback`: The function to be called when the specified event occurs. This function will be called with no arguments.
-
-Here's an example of how to use these props:
-
-```ts
-useOn({
- event: Hooks.SignOut,
- callback: () => {
- console.log("User signed out");
- },
-});
-```
-
-In this example, the message "User signed out" will be logged when the user signs out.
diff --git a/docs/src/react/introduction.md b/docs/src/react/introduction.md
deleted file mode 100644
index d6c98377..00000000
--- a/docs/src/react/introduction.md
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-# Asgardeo React SDK
-
-The Asgardeo React SDK enables to integrate login natively in a react application.
-
-This SDK assists you in creating custom login flows directly within the applications themselves, without relying on browser redirects, thereby prioritizing user experience.
-
-## Getting Started
-
-### Prerequisites
-
-- [Register to Asgardeo and create an organization if you don't already have one](https://wso2.com/asgardeo/docs/get-started/create-asgardeo-account/). The organization name you choose will be referred to as `` throughout this document.
-- [Register a standard based application in Asgardeo to integrate your application with Asgardeo](https://wso2.com/asgardeo/docs/guides/applications/register-standard-based-app/). You will obtain a `client_id` from Asgardeo for your application which will need to be embedded later for the SDK integration. Also note the redirect URI that you used to create the application, this is also required for the SDK integration.
-- In the created application, go to the **Advanced** tab and [enable the application native authentication for your application](https://is.docs.wso2.com/en/latest/guides/authentication/add-application-native-login/#enable-app-native-authentication).
-- Navigate to the **Protocol** tab in the newly created application and enable the `code` option in the [Allowed Grant Types](https://is.docs.wso2.com/en/latest/references/app-settings/oidc-settings-for-app/#allowed-grant-types) section.
- - Upon enabling, additional fields for `Authorized Redirect URLs` and `Allowed Origins` will appear. Enter your web application's URL in both of these fields.
-- In the same same **Protocol** tab, scroll down to the **Client Authentication** section. There, you will find a checkbox for `Public Client`. Enable this checkbox.
-
-### Installation
-
-To install the Asgardeo React SDK, navigate to your project directory in your terminal and run the following command:
-
-with pnpm:
-
-```bash
-pnpm install @asgardeo/react
-```
-
-With npm:
-
-```bash
-npm install @asgardeo/react
-```
-
-With yarn:
-
-```bash
-yarn add @asgardeo/react
-```
-
-### Wrapping the Application with AsgardeoProvider
-
-After installing the Asgardeo React SDK, you need to wrap your application with the AsgardeoProvider component, which is exposed from the installed package. This component provides the Asgardeo context to all the components in your application.
-
-First, import the AsgardeoProvider from the Asgardeo React SDK:
-
-```ts
-import { AsgardeoProvider } from "@asgardeo/react";
-```
-
-Then, wrap your application with the `AsgardeoProvider` and pass the basic configuration to it:
-
-```ts
-
-
-
-```
-
-For more details about `AsgardeoProvider` and its properties, you can refer to the [Asgardeo Provider](/react/components/asgardeo-provider).
diff --git a/package.json b/package.json
index e73152eb..6c5bf92b 100644
--- a/package.json
+++ b/package.json
@@ -5,13 +5,13 @@
"description": "Workspace to hold the Asgardeo JavaScript SDKs.",
"author": "WSO2",
"license": "Apache-2.0",
- "homepage": "https://github.com/asgardeo/web-ui-sdks#readme",
+ "homepage": "https://github.com/asgardeo/javascript#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks"
+ "url": "https://github.com/asgardeo/javascript"
},
"keywords": [
"asgardeo",
@@ -40,4 +40,4 @@
"publishConfig": {
"access": "restricted"
}
-}
+}
\ No newline at end of file
diff --git a/packages/__legacy__/core/CHANGELOG.md b/packages/__legacy__/core/CHANGELOG.md
index eb350e1e..44576758 100644
--- a/packages/__legacy__/core/CHANGELOG.md
+++ b/packages/__legacy__/core/CHANGELOG.md
@@ -4,16 +4,16 @@
### Patch Changes
-- [#47](https://github.com/asgardeo/web-ui-sdks/pull/47)
- [`3d3af92`](https://github.com/asgardeo/web-ui-sdks/commit/3d3af92338dec2d4b8aff09f9ba9da7d68781108) Thanks
+- [#47](https://github.com/asgardeo/javascript/pull/47)
+ [`3d3af92`](https://github.com/asgardeo/javascript/commit/3d3af92338dec2d4b8aff09f9ba9da7d68781108) Thanks
[@dasuni-30](https://github.com/dasuni-30)! - Add support to esm in core package
## 0.1.2
### Patch Changes
-- [#34](https://github.com/asgardeo/web-ui-sdks/pull/34)
- [`4344408`](https://github.com/asgardeo/web-ui-sdks/commit/43444087466db1c12fdb97e283192d5e2ccc00f1) Thanks
+- [#34](https://github.com/asgardeo/javascript/pull/34)
+ [`4344408`](https://github.com/asgardeo/javascript/commit/43444087466db1c12fdb97e283192d5e2ccc00f1) Thanks
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Improvements to Identifier first authenticator in the React
SDK
@@ -21,16 +21,16 @@
### Patch Changes
-- [#20](https://github.com/asgardeo/web-ui-sdks/pull/20)
- [`8eef064`](https://github.com/asgardeo/web-ui-sdks/commit/8eef0641c01de02aa7c4a6d75f059136fcfdb489) Thanks
+- [#20](https://github.com/asgardeo/javascript/pull/20)
+ [`8eef064`](https://github.com/asgardeo/javascript/commit/8eef0641c01de02aa7c4a6d75f059136fcfdb489) Thanks
[@movinsilva](https://github.com/movinsilva)! - Add readme files and update build scripts
## 0.1.0
### Minor Changes
-- [#17](https://github.com/asgardeo/web-ui-sdks/pull/17)
- [`0be3e48`](https://github.com/asgardeo/web-ui-sdks/commit/0be3e48a2896e10eea2f4c74ccc24eb1ddab09bd) Thanks
+- [#17](https://github.com/asgardeo/javascript/pull/17)
+ [`0be3e48`](https://github.com/asgardeo/javascript/commit/0be3e48a2896e10eea2f4c74ccc24eb1ddab09bd) Thanks
[@movinsilva](https://github.com/movinsilva)! - Initial release of @asgardeo/js and @asgardeo/react
- Drop in components
diff --git a/packages/__legacy__/core/package.json b/packages/__legacy__/core/package.json
index 6a42b390..5c2a121a 100644
--- a/packages/__legacy__/core/package.json
+++ b/packages/__legacy__/core/package.json
@@ -14,13 +14,13 @@
"LICENSE",
"README.md"
],
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/packages/core#readme",
+ "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/core#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
+ "url": "https://github.com/asgardeo/javascript",
"directory": "packages/core"
},
"keywords": [
@@ -60,4 +60,4 @@
"lodash.isempty": "^4.4.0",
"lodash.merge": "^4.6.2"
}
-}
+}
\ No newline at end of file
diff --git a/packages/__legacy__/react/CHANGELOG.md b/packages/__legacy__/react/CHANGELOG.md
index 71879b2a..1d6fd181 100644
--- a/packages/__legacy__/react/CHANGELOG.md
+++ b/packages/__legacy__/react/CHANGELOG.md
@@ -4,73 +4,73 @@
### Patch Changes
-- [#44](https://github.com/asgardeo/web-ui-sdks/pull/44)
- [`355234c`](https://github.com/asgardeo/web-ui-sdks/commit/355234c5da7f873675f0dde8ac34fe18946c85c5) Thanks
+- [#44](https://github.com/asgardeo/javascript/pull/44)
+ [`355234c`](https://github.com/asgardeo/javascript/commit/355234c5da7f873675f0dde8ac34fe18946c85c5) Thanks
[@dasuni-30](https://github.com/dasuni-30)! - Update package.json to support ESM modules
-- [#48](https://github.com/asgardeo/web-ui-sdks/pull/48)
- [`f0bbb30`](https://github.com/asgardeo/web-ui-sdks/commit/f0bbb300f5ca7e27bab3ce90cb1bae9dc550aa98) Thanks
+- [#48](https://github.com/asgardeo/javascript/pull/48)
+ [`f0bbb30`](https://github.com/asgardeo/javascript/commit/f0bbb300f5ca7e27bab3ce90cb1bae9dc550aa98) Thanks
[@dasuni-30](https://github.com/dasuni-30)! - Fix EsLint issues in the PR build failure
- Updated dependencies
- [[`3d3af92`](https://github.com/asgardeo/web-ui-sdks/commit/3d3af92338dec2d4b8aff09f9ba9da7d68781108)]:
+ [[`3d3af92`](https://github.com/asgardeo/javascript/commit/3d3af92338dec2d4b8aff09f9ba9da7d68781108)]:
- @asgardeo/js@0.1.3
## 0.2.3
### Patch Changes
-- [#38](https://github.com/asgardeo/web-ui-sdks/pull/38)
- [`9d577ed`](https://github.com/asgardeo/web-ui-sdks/commit/9d577ed83b3ba138b884d2a2aa0f51f4dc2d7d79) Thanks
+- [#38](https://github.com/asgardeo/javascript/pull/38)
+ [`9d577ed`](https://github.com/asgardeo/javascript/commit/9d577ed83b3ba138b884d2a2aa0f51f4dc2d7d79) Thanks
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Fix loading state issues in the React SDK
## 0.2.2
### Patch Changes
-- [#36](https://github.com/asgardeo/web-ui-sdks/pull/36)
- [`39b7402`](https://github.com/asgardeo/web-ui-sdks/commit/39b74025195a74fde8d7a723855c3b3d7100bb9f) Thanks
+- [#36](https://github.com/asgardeo/javascript/pull/36)
+ [`39b7402`](https://github.com/asgardeo/javascript/commit/39b74025195a74fde8d7a723855c3b3d7100bb9f) Thanks
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Expose global loading state from the react SDK
## 0.2.1
### Patch Changes
-- [#34](https://github.com/asgardeo/web-ui-sdks/pull/34)
- [`4344408`](https://github.com/asgardeo/web-ui-sdks/commit/43444087466db1c12fdb97e283192d5e2ccc00f1) Thanks
+- [#34](https://github.com/asgardeo/javascript/pull/34)
+ [`4344408`](https://github.com/asgardeo/javascript/commit/43444087466db1c12fdb97e283192d5e2ccc00f1) Thanks
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Improvements to Identifier first authenticator in the React
SDK
- Updated dependencies
- [[`4344408`](https://github.com/asgardeo/web-ui-sdks/commit/43444087466db1c12fdb97e283192d5e2ccc00f1)]:
+ [[`4344408`](https://github.com/asgardeo/javascript/commit/43444087466db1c12fdb97e283192d5e2ccc00f1)]:
- @asgardeo/js@0.1.2
## 0.2.0
### Minor Changes
-- [#31](https://github.com/asgardeo/web-ui-sdks/pull/31)
- [`084d8e9`](https://github.com/asgardeo/web-ui-sdks/commit/084d8e9cc66a1b36033f82bf7659b9c3a1ac3627) Thanks
+- [#31](https://github.com/asgardeo/javascript/pull/31)
+ [`084d8e9`](https://github.com/asgardeo/javascript/commit/084d8e9cc66a1b36033f82bf7659b9c3a1ac3627) Thanks
[@DonOmalVindula](https://github.com/DonOmalVindula)! - Implement support for identifier first authenticator
## 0.1.1
### Patch Changes
-- [#20](https://github.com/asgardeo/web-ui-sdks/pull/20)
- [`8eef064`](https://github.com/asgardeo/web-ui-sdks/commit/8eef0641c01de02aa7c4a6d75f059136fcfdb489) Thanks
+- [#20](https://github.com/asgardeo/javascript/pull/20)
+ [`8eef064`](https://github.com/asgardeo/javascript/commit/8eef0641c01de02aa7c4a6d75f059136fcfdb489) Thanks
[@movinsilva](https://github.com/movinsilva)! - Add readme files and update build scripts
- Updated dependencies
- [[`8eef064`](https://github.com/asgardeo/web-ui-sdks/commit/8eef0641c01de02aa7c4a6d75f059136fcfdb489)]:
+ [[`8eef064`](https://github.com/asgardeo/javascript/commit/8eef0641c01de02aa7c4a6d75f059136fcfdb489)]:
- @asgardeo/js@0.1.1
## 0.1.0
### Minor Changes
-- [#17](https://github.com/asgardeo/web-ui-sdks/pull/17)
- [`0be3e48`](https://github.com/asgardeo/web-ui-sdks/commit/0be3e48a2896e10eea2f4c74ccc24eb1ddab09bd) Thanks
+- [#17](https://github.com/asgardeo/javascript/pull/17)
+ [`0be3e48`](https://github.com/asgardeo/javascript/commit/0be3e48a2896e10eea2f4c74ccc24eb1ddab09bd) Thanks
[@movinsilva](https://github.com/movinsilva)! - Initial release of @asgardeo/js and @asgardeo/react
- Drop in components
@@ -91,5 +91,5 @@
### Patch Changes
- Updated dependencies
- [[`0be3e48`](https://github.com/asgardeo/web-ui-sdks/commit/0be3e48a2896e10eea2f4c74ccc24eb1ddab09bd)]:
+ [[`0be3e48`](https://github.com/asgardeo/javascript/commit/0be3e48a2896e10eea2f4c74ccc24eb1ddab09bd)]:
- @asgardeo/js@0.1.0
diff --git a/packages/__legacy__/react/package.json b/packages/__legacy__/react/package.json
index a0cffd76..018ee4c2 100644
--- a/packages/__legacy__/react/package.json
+++ b/packages/__legacy__/react/package.json
@@ -14,13 +14,13 @@
"LICENSE",
"README.md"
],
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/packages/react#readme",
+ "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/react#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
+ "url": "https://github.com/asgardeo/javascript",
"directory": "packages/react"
},
"keywords": [
@@ -78,4 +78,4 @@
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
}
-}
+}
\ No newline at end of file
diff --git a/packages/browser/CHANGELOG.md b/packages/browser/CHANGELOG.md
index 878a90dd..e339932f 100644
--- a/packages/browser/CHANGELOG.md
+++ b/packages/browser/CHANGELOG.md
@@ -21,7 +21,7 @@
### Patch Changes
- Updated dependencies
- [[`7e8ea1c`](https://github.com/asgardeo/web-ui-sdks/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]:
+ [[`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]:
- @asgardeo/javascript@0.1.8
## 0.1.7
@@ -29,19 +29,19 @@
### Patch Changes
- Updated dependencies
- [[`ee3b7c6`](https://github.com/asgardeo/web-ui-sdks/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da)]:
+ [[`ee3b7c6`](https://github.com/asgardeo/javascript/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da)]:
- @asgardeo/javascript@0.1.7
## 0.1.6
### Patch Changes
-- [#100](https://github.com/asgardeo/web-ui-sdks/pull/100)
- [`399a2e1`](https://github.com/asgardeo/web-ui-sdks/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks
+- [#100](https://github.com/asgardeo/javascript/pull/100)
+ [`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks
[@brionmario](https://github.com/brionmario)! - Expose `http` module instead of `fetch`
- Updated dependencies
- [[`399a2e1`](https://github.com/asgardeo/web-ui-sdks/commit/399a2e14473c545a3c549aa626a028f1640f227f)]:
+ [[`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f)]:
- @asgardeo/javascript@0.1.6
## 0.1.5
@@ -49,81 +49,81 @@
### Patch Changes
- Updated dependencies
- [[`b50ea2b`](https://github.com/asgardeo/web-ui-sdks/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]:
+ [[`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]:
- @asgardeo/javascript@0.1.5
## 0.1.4
### Patch Changes
-- [#94](https://github.com/asgardeo/web-ui-sdks/pull/94)
- [`cb918a3`](https://github.com/asgardeo/web-ui-sdks/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
+- [#94](https://github.com/asgardeo/javascript/pull/94)
+ [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
[@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package
and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the
`ProtectedRoute` component works correctly with the new sign-in functionality.
- Updated dependencies
- [[`cb918a3`](https://github.com/asgardeo/web-ui-sdks/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]:
+ [[`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]:
- @asgardeo/javascript@0.1.4
## 0.1.3
### Patch Changes
-- [#87](https://github.com/asgardeo/web-ui-sdks/pull/87)
- [`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
+- [#87](https://github.com/asgardeo/javascript/pull/87)
+ [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
[@brionmario](https://github.com/brionmario)! - Fix B2B components
- Updated dependencies
- [[`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]:
+ [[`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]:
- @asgardeo/javascript@0.1.3
## 0.1.2
### Patch Changes
-- [#85](https://github.com/asgardeo/web-ui-sdks/pull/85)
- [`1066fef`](https://github.com/asgardeo/web-ui-sdks/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
+- [#85](https://github.com/asgardeo/javascript/pull/85)
+ [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
[@brionmario](https://github.com/brionmario)! - Fix issues with profile
- Updated dependencies
- [[`1066fef`](https://github.com/asgardeo/web-ui-sdks/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]:
+ [[`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]:
- @asgardeo/javascript@0.1.2
## 0.1.1
### Patch Changes
-- [#83](https://github.com/asgardeo/web-ui-sdks/pull/83)
- [`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
+- [#83](https://github.com/asgardeo/javascript/pull/83)
+ [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
[@brionmario](https://github.com/brionmario)! - Fix NPEs
- Updated dependencies
- [[`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]:
+ [[`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]:
- @asgardeo/javascript@0.1.1
## 0.1.0
### Minor Changes
-- [#68](https://github.com/asgardeo/web-ui-sdks/pull/68)
- [`efe951f`](https://github.com/asgardeo/web-ui-sdks/commit/efe951f3dd45a477360b5a3a16990a78dc26982f) Thanks
+- [#68](https://github.com/asgardeo/javascript/pull/68)
+ [`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f) Thanks
[@brionmario](https://github.com/brionmario)! - Support `SignIn` component in `@asgardeo/react`.
### Patch Changes
- Updated dependencies
- [[`efe951f`](https://github.com/asgardeo/web-ui-sdks/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]:
+ [[`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]:
- @asgardeo/javascript@0.1.0
## 0.0.1
### Patch Changes
-- [#63](https://github.com/asgardeo/web-ui-sdks/pull/63)
- [`a806ea8`](https://github.com/asgardeo/web-ui-sdks/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks
+- [#63](https://github.com/asgardeo/javascript/pull/63)
+ [`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks
[@brionmario](https://github.com/brionmario)! - Initial release with basic redirection capabilities and components.
- Updated dependencies
- [[`a806ea8`](https://github.com/asgardeo/web-ui-sdks/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]:
+ [[`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]:
- @asgardeo/javascript@0.0.1
diff --git a/packages/browser/package.json b/packages/browser/package.json
index ee546b95..ca3973c1 100644
--- a/packages/browser/package.json
+++ b/packages/browser/package.json
@@ -7,9 +7,9 @@
"browser",
"spa"
],
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/packages/browser#readme",
+ "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/browser#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"author": "WSO2",
"license": "Apache-2.0",
@@ -28,7 +28,7 @@
"types": "dist/index.d.ts",
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
+ "url": "https://github.com/asgardeo/javascript",
"directory": "packages/browser"
},
"scripts": {
@@ -73,4 +73,4 @@
"publishConfig": {
"access": "public"
}
-}
+}
\ No newline at end of file
diff --git a/packages/express/CHANGELOG.md b/packages/express/CHANGELOG.md
index 41476942..2a2db788 100644
--- a/packages/express/CHANGELOG.md
+++ b/packages/express/CHANGELOG.md
@@ -20,7 +20,7 @@
### Patch Changes
- Updated dependencies
- [[`7e8ea1c`](https://github.com/asgardeo/web-ui-sdks/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]:
+ [[`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]:
- @asgardeo/node@0.0.10
## 0.0.8
@@ -55,36 +55,36 @@
### Patch Changes
-- [#87](https://github.com/asgardeo/web-ui-sdks/pull/87)
- [`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
+- [#87](https://github.com/asgardeo/javascript/pull/87)
+ [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
[@brionmario](https://github.com/brionmario)! - Fix B2B components
- Updated dependencies
- [[`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]:
+ [[`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]:
- @asgardeo/node@0.0.5
## 0.0.3
### Patch Changes
-- [#85](https://github.com/asgardeo/web-ui-sdks/pull/85)
- [`1066fef`](https://github.com/asgardeo/web-ui-sdks/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
+- [#85](https://github.com/asgardeo/javascript/pull/85)
+ [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
[@brionmario](https://github.com/brionmario)! - Fix issues with profile
- Updated dependencies
- [[`1066fef`](https://github.com/asgardeo/web-ui-sdks/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]:
+ [[`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]:
- @asgardeo/node@0.0.4
## 0.0.2
### Patch Changes
-- [#83](https://github.com/asgardeo/web-ui-sdks/pull/83)
- [`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
+- [#83](https://github.com/asgardeo/javascript/pull/83)
+ [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
[@brionmario](https://github.com/brionmario)! - Fix NPEs
- Updated dependencies
- [[`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]:
+ [[`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]:
- @asgardeo/node@0.0.3
## 0.0.1
diff --git a/packages/express/package.json b/packages/express/package.json
index e385406f..7b1b1cf1 100644
--- a/packages/express/package.json
+++ b/packages/express/package.json
@@ -7,9 +7,9 @@
"express.js",
"server"
],
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/packages/express#readme",
+ "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/express#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"author": "WSO2",
"license": "Apache-2.0",
@@ -29,7 +29,7 @@
"types": "dist/index.d.ts",
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
+ "url": "https://github.com/asgardeo/javascript",
"directory": "packages/express"
},
"scripts": {
@@ -62,4 +62,4 @@
"publishConfig": {
"access": "public"
}
-}
+}
\ No newline at end of file
diff --git a/packages/javascript/CHANGELOG.md b/packages/javascript/CHANGELOG.md
index 64b484a3..dfcdfe59 100644
--- a/packages/javascript/CHANGELOG.md
+++ b/packages/javascript/CHANGELOG.md
@@ -20,16 +20,16 @@
### Patch Changes
-- [#106](https://github.com/asgardeo/web-ui-sdks/pull/106)
- [`7e8ea1c`](https://github.com/asgardeo/web-ui-sdks/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks
+- [#106](https://github.com/asgardeo/javascript/pull/106)
+ [`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks
[@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage
## 0.1.7
### Patch Changes
-- [#104](https://github.com/asgardeo/web-ui-sdks/pull/104)
- [`ee3b7c6`](https://github.com/asgardeo/web-ui-sdks/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da) Thanks
+- [#104](https://github.com/asgardeo/javascript/pull/104)
+ [`ee3b7c6`](https://github.com/asgardeo/javascript/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da) Thanks
[@brionmario](https://github.com/brionmario)! - Move to a session cookie to give the ability to do route level scope
based authorization.
@@ -37,16 +37,16 @@
### Patch Changes
-- [#100](https://github.com/asgardeo/web-ui-sdks/pull/100)
- [`399a2e1`](https://github.com/asgardeo/web-ui-sdks/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks
+- [#100](https://github.com/asgardeo/javascript/pull/100)
+ [`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks
[@brionmario](https://github.com/brionmario)! - Expose `http` module instead of `fetch`
## 0.1.5
### Patch Changes
-- [#98](https://github.com/asgardeo/web-ui-sdks/pull/98)
- [`b50ea2b`](https://github.com/asgardeo/web-ui-sdks/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691) Thanks
+- [#98](https://github.com/asgardeo/javascript/pull/98)
+ [`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691) Thanks
[@brionmario](https://github.com/brionmario)! - - Fix `organizationHandle` resolution issues with the on-prem WSO2
Identity Server
- Expose `fetch` method in `AsgardeoContext` to allow custom HTTP requests
@@ -55,8 +55,8 @@
### Patch Changes
-- [#94](https://github.com/asgardeo/web-ui-sdks/pull/94)
- [`cb918a3`](https://github.com/asgardeo/web-ui-sdks/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
+- [#94](https://github.com/asgardeo/javascript/pull/94)
+ [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
[@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package
and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the
`ProtectedRoute` component works correctly with the new sign-in functionality.
@@ -65,38 +65,38 @@
### Patch Changes
-- [#87](https://github.com/asgardeo/web-ui-sdks/pull/87)
- [`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
+- [#87](https://github.com/asgardeo/javascript/pull/87)
+ [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
[@brionmario](https://github.com/brionmario)! - Fix B2B components
## 0.1.2
### Patch Changes
-- [#85](https://github.com/asgardeo/web-ui-sdks/pull/85)
- [`1066fef`](https://github.com/asgardeo/web-ui-sdks/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
+- [#85](https://github.com/asgardeo/javascript/pull/85)
+ [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
[@brionmario](https://github.com/brionmario)! - Fix issues with profile
## 0.1.1
### Patch Changes
-- [#83](https://github.com/asgardeo/web-ui-sdks/pull/83)
- [`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
+- [#83](https://github.com/asgardeo/javascript/pull/83)
+ [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
[@brionmario](https://github.com/brionmario)! - Fix NPEs
## 0.1.0
### Minor Changes
-- [#68](https://github.com/asgardeo/web-ui-sdks/pull/68)
- [`efe951f`](https://github.com/asgardeo/web-ui-sdks/commit/efe951f3dd45a477360b5a3a16990a78dc26982f) Thanks
+- [#68](https://github.com/asgardeo/javascript/pull/68)
+ [`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f) Thanks
[@brionmario](https://github.com/brionmario)! - Support `SignIn` component in `@asgardeo/react`.
## 0.0.1
### Patch Changes
-- [#63](https://github.com/asgardeo/web-ui-sdks/pull/63)
- [`a806ea8`](https://github.com/asgardeo/web-ui-sdks/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks
+- [#63](https://github.com/asgardeo/javascript/pull/63)
+ [`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks
[@brionmario](https://github.com/brionmario)! - Initial release with basic redirection capabilities and components.
diff --git a/packages/javascript/package.json b/packages/javascript/package.json
index 3116b361..b3c1dd86 100644
--- a/packages/javascript/package.json
+++ b/packages/javascript/package.json
@@ -9,9 +9,9 @@
"agnostic",
"js"
],
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/packages/javascript#readme",
+ "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/javascript#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"author": "WSO2",
"license": "Apache-2.0",
@@ -30,7 +30,7 @@
"types": "dist/index.d.ts",
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
+ "url": "https://github.com/asgardeo/javascript",
"directory": "packages/javascript"
},
"scripts": {
@@ -58,4 +58,4 @@
"publishConfig": {
"access": "public"
}
-}
+}
\ No newline at end of file
diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md
index 58bb22d6..f66da402 100644
--- a/packages/nextjs/CHANGELOG.md
+++ b/packages/nextjs/CHANGELOG.md
@@ -36,12 +36,12 @@
### Patch Changes
-- [#106](https://github.com/asgardeo/web-ui-sdks/pull/106)
- [`7e8ea1c`](https://github.com/asgardeo/web-ui-sdks/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks
+- [#106](https://github.com/asgardeo/javascript/pull/106)
+ [`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks
[@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage
- Updated dependencies
- [[`7e8ea1c`](https://github.com/asgardeo/web-ui-sdks/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]:
+ [[`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]:
- @asgardeo/react@0.5.12
- @asgardeo/node@0.0.10
@@ -49,8 +49,8 @@
### Patch Changes
-- [#104](https://github.com/asgardeo/web-ui-sdks/pull/104)
- [`ee3b7c6`](https://github.com/asgardeo/web-ui-sdks/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da) Thanks
+- [#104](https://github.com/asgardeo/javascript/pull/104)
+ [`ee3b7c6`](https://github.com/asgardeo/javascript/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da) Thanks
[@brionmario](https://github.com/brionmario)! - Move to a session cookie to give the ability to do route level scope
based authorization.
@@ -62,8 +62,8 @@
### Patch Changes
-- [#102](https://github.com/asgardeo/web-ui-sdks/pull/102)
- [`6dd960a`](https://github.com/asgardeo/web-ui-sdks/commit/6dd960a7cb26b770aabb9c297f50544c264e2bcc) Thanks
+- [#102](https://github.com/asgardeo/javascript/pull/102)
+ [`6dd960a`](https://github.com/asgardeo/javascript/commit/6dd960a7cb26b770aabb9c297f50544c264e2bcc) Thanks
[@brionmario](https://github.com/brionmario)! - Enhance route protection with createRouteMatcher and session
validation
@@ -71,12 +71,12 @@
### Patch Changes
-- [#100](https://github.com/asgardeo/web-ui-sdks/pull/100)
- [`399a2e1`](https://github.com/asgardeo/web-ui-sdks/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks
+- [#100](https://github.com/asgardeo/javascript/pull/100)
+ [`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks
[@brionmario](https://github.com/brionmario)! - Expose `http` module instead of `fetch`
- Updated dependencies
- [[`399a2e1`](https://github.com/asgardeo/web-ui-sdks/commit/399a2e14473c545a3c549aa626a028f1640f227f)]:
+ [[`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f)]:
- @asgardeo/react@0.5.10
- @asgardeo/node@0.0.8
@@ -85,7 +85,7 @@
### Patch Changes
- Updated dependencies
- [[`b50ea2b`](https://github.com/asgardeo/web-ui-sdks/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]:
+ [[`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]:
- @asgardeo/react@0.5.9
- @asgardeo/node@0.0.7
@@ -93,14 +93,14 @@
### Patch Changes
-- [#94](https://github.com/asgardeo/web-ui-sdks/pull/94)
- [`cb918a3`](https://github.com/asgardeo/web-ui-sdks/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
+- [#94](https://github.com/asgardeo/javascript/pull/94)
+ [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
[@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package
and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the
`ProtectedRoute` component works correctly with the new sign-in functionality.
- Updated dependencies
- [[`cb918a3`](https://github.com/asgardeo/web-ui-sdks/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]:
+ [[`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]:
- @asgardeo/react@0.5.8
- @asgardeo/node@0.0.6
@@ -108,12 +108,12 @@
### Patch Changes
-- [#92](https://github.com/asgardeo/web-ui-sdks/pull/92)
- [`1ce6a26`](https://github.com/asgardeo/web-ui-sdks/commit/1ce6a2657678549e06609958162003027b986b03) Thanks
+- [#92](https://github.com/asgardeo/javascript/pull/92)
+ [`1ce6a26`](https://github.com/asgardeo/javascript/commit/1ce6a2657678549e06609958162003027b986b03) Thanks
[@brionmario](https://github.com/brionmario)! - Fix issues in next components
- Updated dependencies
- [[`1ce6a26`](https://github.com/asgardeo/web-ui-sdks/commit/1ce6a2657678549e06609958162003027b986b03)]:
+ [[`1ce6a26`](https://github.com/asgardeo/javascript/commit/1ce6a2657678549e06609958162003027b986b03)]:
- @asgardeo/react@0.5.7
## 0.1.5
@@ -121,19 +121,19 @@
### Patch Changes
- Updated dependencies
- [[`b23868f`](https://github.com/asgardeo/web-ui-sdks/commit/b23868f33d9a05df790b22b6585cd20ce7316de9)]:
+ [[`b23868f`](https://github.com/asgardeo/javascript/commit/b23868f33d9a05df790b22b6585cd20ce7316de9)]:
- @asgardeo/react@0.5.6
## 0.1.4
### Patch Changes
-- [#87](https://github.com/asgardeo/web-ui-sdks/pull/87)
- [`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
+- [#87](https://github.com/asgardeo/javascript/pull/87)
+ [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
[@brionmario](https://github.com/brionmario)! - Fix B2B components
- Updated dependencies
- [[`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]:
+ [[`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]:
- @asgardeo/node@0.0.5
- @asgardeo/react@0.5.5
@@ -141,12 +141,12 @@
### Patch Changes
-- [#85](https://github.com/asgardeo/web-ui-sdks/pull/85)
- [`1066fef`](https://github.com/asgardeo/web-ui-sdks/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
+- [#85](https://github.com/asgardeo/javascript/pull/85)
+ [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
[@brionmario](https://github.com/brionmario)! - Fix issues with profile
- Updated dependencies
- [[`1066fef`](https://github.com/asgardeo/web-ui-sdks/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]:
+ [[`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]:
- @asgardeo/node@0.0.4
- @asgardeo/react@0.5.4
@@ -154,12 +154,12 @@
### Patch Changes
-- [#83](https://github.com/asgardeo/web-ui-sdks/pull/83)
- [`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
+- [#83](https://github.com/asgardeo/javascript/pull/83)
+ [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
[@brionmario](https://github.com/brionmario)! - Fix NPEs
- Updated dependencies
- [[`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]:
+ [[`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]:
- @asgardeo/node@0.0.3
- @asgardeo/react@0.5.3
@@ -167,26 +167,26 @@
### Patch Changes
-- [#80](https://github.com/asgardeo/web-ui-sdks/pull/80)
- [`3851019`](https://github.com/asgardeo/web-ui-sdks/commit/3851019dfb8b2cd1e77ae40943f393de4d799c41) Thanks
+- [#80](https://github.com/asgardeo/javascript/pull/80)
+ [`3851019`](https://github.com/asgardeo/javascript/commit/3851019dfb8b2cd1e77ae40943f393de4d799c41) Thanks
[@brionmario](https://github.com/brionmario)! - Fix NPEs
- Updated dependencies
- [[`3851019`](https://github.com/asgardeo/web-ui-sdks/commit/3851019dfb8b2cd1e77ae40943f393de4d799c41)]:
+ [[`3851019`](https://github.com/asgardeo/javascript/commit/3851019dfb8b2cd1e77ae40943f393de4d799c41)]:
- @asgardeo/react@0.5.2
## 0.1.0
### Minor Changes
-- [#75](https://github.com/asgardeo/web-ui-sdks/pull/75)
- [`9d5eca7`](https://github.com/asgardeo/web-ui-sdks/commit/9d5eca748006654ff415d86501281f00b8a3800a) Thanks
+- [#75](https://github.com/asgardeo/javascript/pull/75)
+ [`9d5eca7`](https://github.com/asgardeo/javascript/commit/9d5eca748006654ff415d86501281f00b8a3800a) Thanks
[@brionmario](https://github.com/brionmario)! - Stabilize the SDK
### Patch Changes
- Updated dependencies
- [[`9d5eca7`](https://github.com/asgardeo/web-ui-sdks/commit/9d5eca748006654ff415d86501281f00b8a3800a)]:
+ [[`9d5eca7`](https://github.com/asgardeo/javascript/commit/9d5eca748006654ff415d86501281f00b8a3800a)]:
- @asgardeo/react@0.5.1
## 0.0.3
@@ -194,7 +194,7 @@
### Patch Changes
- Updated dependencies
- [[`20177f9`](https://github.com/asgardeo/web-ui-sdks/commit/20177f91a3abe6582b6bd767d01650aec3d31e95)]:
+ [[`20177f9`](https://github.com/asgardeo/javascript/commit/20177f91a3abe6582b6bd767d01650aec3d31e95)]:
- @asgardeo/react@0.5.0
## 0.0.3
@@ -202,7 +202,7 @@
### Patch Changes
- Updated dependencies
- [[`3aa86ce`](https://github.com/asgardeo/web-ui-sdks/commit/3aa86cebb7077f516994a9a6773f3389e7d6a6c8)]:
+ [[`3aa86ce`](https://github.com/asgardeo/javascript/commit/3aa86cebb7077f516994a9a6773f3389e7d6a6c8)]:
- @asgardeo/react@0.5.0
## 0.0.2
@@ -210,7 +210,7 @@
### Patch Changes
- Updated dependencies
- [[`efe951f`](https://github.com/asgardeo/web-ui-sdks/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]:
+ [[`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]:
- @asgardeo/react@0.4.0
- @asgardeo/node@0.0.2
@@ -218,11 +218,11 @@
### Patch Changes
-- [#63](https://github.com/asgardeo/web-ui-sdks/pull/63)
- [`a806ea8`](https://github.com/asgardeo/web-ui-sdks/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks
+- [#63](https://github.com/asgardeo/javascript/pull/63)
+ [`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks
[@brionmario](https://github.com/brionmario)! - Initial release with basic redirection capabilities and components.
- Updated dependencies
- [[`a806ea8`](https://github.com/asgardeo/web-ui-sdks/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]:
+ [[`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]:
- @asgardeo/node@0.0.1
- @asgardeo/react@0.3.0
diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json
index 3fb4b4b7..3c51309e 100644
--- a/packages/nextjs/package.json
+++ b/packages/nextjs/package.json
@@ -8,9 +8,9 @@
"react",
"ssr"
],
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/packages/next#readme",
+ "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/next#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"author": "WSO2",
"license": "Apache-2.0",
@@ -38,7 +38,7 @@
"types": "dist/index.d.ts",
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
+ "url": "https://github.com/asgardeo/javascript",
"directory": "packages/next"
},
"scripts": {
@@ -76,4 +76,4 @@
"publishConfig": {
"access": "public"
}
-}
+}
\ No newline at end of file
diff --git a/packages/node/CHANGELOG.md b/packages/node/CHANGELOG.md
index 8ec9d105..bf8cae05 100644
--- a/packages/node/CHANGELOG.md
+++ b/packages/node/CHANGELOG.md
@@ -24,12 +24,12 @@
### Patch Changes
-- [#106](https://github.com/asgardeo/web-ui-sdks/pull/106)
- [`7e8ea1c`](https://github.com/asgardeo/web-ui-sdks/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks
+- [#106](https://github.com/asgardeo/javascript/pull/106)
+ [`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks
[@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage
- Updated dependencies
- [[`7e8ea1c`](https://github.com/asgardeo/web-ui-sdks/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]:
+ [[`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]:
- @asgardeo/javascript@0.1.8
## 0.0.9
@@ -37,7 +37,7 @@
### Patch Changes
- Updated dependencies
- [[`ee3b7c6`](https://github.com/asgardeo/web-ui-sdks/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da)]:
+ [[`ee3b7c6`](https://github.com/asgardeo/javascript/commit/ee3b7c669dc4a3c401569ed2b1861256d8df90da)]:
- @asgardeo/javascript@0.1.7
## 0.0.8
@@ -45,7 +45,7 @@
### Patch Changes
- Updated dependencies
- [[`399a2e1`](https://github.com/asgardeo/web-ui-sdks/commit/399a2e14473c545a3c549aa626a028f1640f227f)]:
+ [[`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f)]:
- @asgardeo/javascript@0.1.6
## 0.0.7
@@ -53,7 +53,7 @@
### Patch Changes
- Updated dependencies
- [[`b50ea2b`](https://github.com/asgardeo/web-ui-sdks/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]:
+ [[`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]:
- @asgardeo/javascript@0.1.5
## 0.0.6
@@ -61,43 +61,43 @@
### Patch Changes
- Updated dependencies
- [[`cb918a3`](https://github.com/asgardeo/web-ui-sdks/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]:
+ [[`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]:
- @asgardeo/javascript@0.1.4
## 0.0.5
### Patch Changes
-- [#87](https://github.com/asgardeo/web-ui-sdks/pull/87)
- [`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
+- [#87](https://github.com/asgardeo/javascript/pull/87)
+ [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
[@brionmario](https://github.com/brionmario)! - Fix B2B components
- Updated dependencies
- [[`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]:
+ [[`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]:
- @asgardeo/javascript@0.1.3
## 0.0.4
### Patch Changes
-- [#85](https://github.com/asgardeo/web-ui-sdks/pull/85)
- [`1066fef`](https://github.com/asgardeo/web-ui-sdks/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
+- [#85](https://github.com/asgardeo/javascript/pull/85)
+ [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
[@brionmario](https://github.com/brionmario)! - Fix issues with profile
- Updated dependencies
- [[`1066fef`](https://github.com/asgardeo/web-ui-sdks/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]:
+ [[`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]:
- @asgardeo/javascript@0.1.2
## 0.0.3
### Patch Changes
-- [#83](https://github.com/asgardeo/web-ui-sdks/pull/83)
- [`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
+- [#83](https://github.com/asgardeo/javascript/pull/83)
+ [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
[@brionmario](https://github.com/brionmario)! - Fix NPEs
- Updated dependencies
- [[`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]:
+ [[`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]:
- @asgardeo/javascript@0.1.1
## 0.0.2
@@ -105,17 +105,17 @@
### Patch Changes
- Updated dependencies
- [[`efe951f`](https://github.com/asgardeo/web-ui-sdks/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]:
+ [[`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]:
- @asgardeo/javascript@0.1.0
## 0.0.1
### Patch Changes
-- [#63](https://github.com/asgardeo/web-ui-sdks/pull/63)
- [`a806ea8`](https://github.com/asgardeo/web-ui-sdks/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks
+- [#63](https://github.com/asgardeo/javascript/pull/63)
+ [`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks
[@brionmario](https://github.com/brionmario)! - Initial release with basic redirection capabilities and components.
- Updated dependencies
- [[`a806ea8`](https://github.com/asgardeo/web-ui-sdks/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]:
+ [[`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]:
- @asgardeo/javascript@0.0.1
diff --git a/packages/node/package.json b/packages/node/package.json
index 93a7926f..ea8d333a 100644
--- a/packages/node/package.json
+++ b/packages/node/package.json
@@ -8,9 +8,9 @@
"node",
"server"
],
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/packages/node#readme",
+ "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/node#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"author": "WSO2",
"license": "Apache-2.0",
@@ -29,7 +29,7 @@
"types": "dist/index.d.ts",
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
+ "url": "https://github.com/asgardeo/javascript",
"directory": "packages/node"
},
"scripts": {
@@ -65,4 +65,4 @@
"publishConfig": {
"access": "public"
}
-}
+}
\ No newline at end of file
diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md
index ce6755ef..9b0b1a1d 100644
--- a/packages/nuxt/CHANGELOG.md
+++ b/packages/nuxt/CHANGELOG.md
@@ -4,6 +4,6 @@
### Patch Changes
-- [#56](https://github.com/asgardeo/web-ui-sdks/pull/56)
- [`74afcc5`](https://github.com/asgardeo/web-ui-sdks/commit/74afcc5bbf3dcfd8a2ec0c0026b709eafbe609a1) Thanks
+- [#56](https://github.com/asgardeo/javascript/pull/56)
+ [`74afcc5`](https://github.com/asgardeo/javascript/commit/74afcc5bbf3dcfd8a2ec0c0026b709eafbe609a1) Thanks
[@3nethz](https://github.com/3nethz)! - initial release
diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json
index 65d912b6..31e66516 100644
--- a/packages/nuxt/package.json
+++ b/packages/nuxt/package.json
@@ -4,13 +4,13 @@
"description": "Nuxt module for Asgardeo - Authentication and Identity Management",
"author": "WSO2",
"license": "Apache-2.0",
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/packages/nuxt#readme",
+ "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/nuxt#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
+ "url": "https://github.com/asgardeo/javascript",
"directory": "packages/nuxt"
},
"keywords": [
diff --git a/packages/react-router/CHANGELOG.md b/packages/react-router/CHANGELOG.md
index 723e40c9..4384736c 100644
--- a/packages/react-router/CHANGELOG.md
+++ b/packages/react-router/CHANGELOG.md
@@ -22,7 +22,7 @@
### Patch Changes
- Updated dependencies
- [[`7e8ea1c`](https://github.com/asgardeo/web-ui-sdks/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]:
+ [[`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767)]:
- @asgardeo/react@0.5.12
## 0.0.4
@@ -37,7 +37,7 @@
### Patch Changes
- Updated dependencies
- [[`399a2e1`](https://github.com/asgardeo/web-ui-sdks/commit/399a2e14473c545a3c549aa626a028f1640f227f)]:
+ [[`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f)]:
- @asgardeo/react@0.5.10
## 0.0.2
@@ -45,21 +45,21 @@
### Patch Changes
- Updated dependencies
- [[`b50ea2b`](https://github.com/asgardeo/web-ui-sdks/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]:
+ [[`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691)]:
- @asgardeo/react@0.5.9
## 0.0.1
### Patch Changes
-- [#94](https://github.com/asgardeo/web-ui-sdks/pull/94)
- [`cb918a3`](https://github.com/asgardeo/web-ui-sdks/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
+- [#94](https://github.com/asgardeo/javascript/pull/94)
+ [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
[@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package
and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the
`ProtectedRoute` component works correctly with the new sign-in functionality.
- Updated dependencies
- [[`cb918a3`](https://github.com/asgardeo/web-ui-sdks/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]:
+ [[`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]:
- @asgardeo/react@0.5.8
## 1.0.0
@@ -67,5 +67,5 @@
### Patch Changes
- Updated dependencies
- [[`3aa86ce`](https://github.com/asgardeo/web-ui-sdks/commit/3aa86cebb7077f516994a9a6773f3389e7d6a6c8)]:
+ [[`3aa86ce`](https://github.com/asgardeo/javascript/commit/3aa86cebb7077f516994a9a6773f3389e7d6a6c8)]:
- @asgardeo/react@0.5.0
diff --git a/packages/react-router/README.md b/packages/react-router/README.md
index 3e940ea0..b1d5f7ce 100644
--- a/packages/react-router/README.md
+++ b/packages/react-router/README.md
@@ -229,7 +229,7 @@ This project is licensed under the Apache License 2.0. See the [LICENSE](LICENSE
- 📖 [Documentation](https://wso2.com/asgardeo/docs/sdks/react/)
- 💬 [Community Forum](https://stackoverflow.com/questions/tagged/asgardeo)
-- 🐛 [Issues](https://github.com/asgardeo/web-ui-sdks/issues)
+- 🐛 [Issues](https://github.com/asgardeo/javascript/issues)
---
diff --git a/packages/react-router/package.json b/packages/react-router/package.json
index 1738766c..d7df426e 100644
--- a/packages/react-router/package.json
+++ b/packages/react-router/package.json
@@ -9,9 +9,9 @@
"protected-routes",
"authentication"
],
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/packages/react-router#readme",
+ "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/react-router#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"author": "WSO2",
"license": "Apache-2.0",
@@ -30,7 +30,7 @@
"types": "dist/index.d.ts",
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
+ "url": "https://github.com/asgardeo/javascript",
"directory": "packages/react-router"
},
"scripts": {
@@ -68,4 +68,4 @@
"publishConfig": {
"access": "public"
}
-}
+}
\ No newline at end of file
diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md
index 3baebf02..059cfb9b 100644
--- a/packages/react/CHANGELOG.md
+++ b/packages/react/CHANGELOG.md
@@ -32,8 +32,8 @@
### Patch Changes
-- [#106](https://github.com/asgardeo/web-ui-sdks/pull/106)
- [`7e8ea1c`](https://github.com/asgardeo/web-ui-sdks/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks
+- [#106](https://github.com/asgardeo/javascript/pull/106)
+ [`7e8ea1c`](https://github.com/asgardeo/javascript/commit/7e8ea1ca9219c1c95404933e8261b2abfbcad767) Thanks
[@brionmario](https://github.com/brionmario)! - Fix `getAccessToken` imperative usage
- Updated dependencies []:
@@ -50,20 +50,20 @@
### Patch Changes
-- [#100](https://github.com/asgardeo/web-ui-sdks/pull/100)
- [`399a2e1`](https://github.com/asgardeo/web-ui-sdks/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks
+- [#100](https://github.com/asgardeo/javascript/pull/100)
+ [`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f) Thanks
[@brionmario](https://github.com/brionmario)! - Expose `http` module instead of `fetch`
- Updated dependencies
- [[`399a2e1`](https://github.com/asgardeo/web-ui-sdks/commit/399a2e14473c545a3c549aa626a028f1640f227f)]:
+ [[`399a2e1`](https://github.com/asgardeo/javascript/commit/399a2e14473c545a3c549aa626a028f1640f227f)]:
- @asgardeo/browser@0.1.6
## 0.5.9
### Patch Changes
-- [#98](https://github.com/asgardeo/web-ui-sdks/pull/98)
- [`b50ea2b`](https://github.com/asgardeo/web-ui-sdks/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691) Thanks
+- [#98](https://github.com/asgardeo/javascript/pull/98)
+ [`b50ea2b`](https://github.com/asgardeo/javascript/commit/b50ea2b5be3f8a8056fe64edd2b09cba8ee69691) Thanks
[@brionmario](https://github.com/brionmario)! - - Fix `organizationHandle` resolution issues with the on-prem WSO2
Identity Server
- Expose `fetch` method in `AsgardeoContext` to allow custom HTTP requests
@@ -74,124 +74,124 @@
### Patch Changes
-- [#94](https://github.com/asgardeo/web-ui-sdks/pull/94)
- [`cb918a3`](https://github.com/asgardeo/web-ui-sdks/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
+- [#94](https://github.com/asgardeo/javascript/pull/94)
+ [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
[@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package
and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the
`ProtectedRoute` component works correctly with the new sign-in functionality.
- Updated dependencies
- [[`cb918a3`](https://github.com/asgardeo/web-ui-sdks/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]:
+ [[`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27)]:
- @asgardeo/browser@0.1.4
## 0.5.7
### Patch Changes
-- [#92](https://github.com/asgardeo/web-ui-sdks/pull/92)
- [`1ce6a26`](https://github.com/asgardeo/web-ui-sdks/commit/1ce6a2657678549e06609958162003027b986b03) Thanks
+- [#92](https://github.com/asgardeo/javascript/pull/92)
+ [`1ce6a26`](https://github.com/asgardeo/javascript/commit/1ce6a2657678549e06609958162003027b986b03) Thanks
[@brionmario](https://github.com/brionmario)! - Fix issues in next components
## 0.5.6
### Patch Changes
-- [#90](https://github.com/asgardeo/web-ui-sdks/pull/90)
- [`b23868f`](https://github.com/asgardeo/web-ui-sdks/commit/b23868f33d9a05df790b22b6585cd20ce7316de9) Thanks
+- [#90](https://github.com/asgardeo/javascript/pull/90)
+ [`b23868f`](https://github.com/asgardeo/javascript/commit/b23868f33d9a05df790b22b6585cd20ce7316de9) Thanks
[@brionmario](https://github.com/brionmario)! - Fix alignment issues in the components
## 0.5.5
### Patch Changes
-- [#87](https://github.com/asgardeo/web-ui-sdks/pull/87)
- [`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
+- [#87](https://github.com/asgardeo/javascript/pull/87)
+ [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
[@brionmario](https://github.com/brionmario)! - Fix B2B components
- Updated dependencies
- [[`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]:
+ [[`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434)]:
- @asgardeo/browser@0.1.3
## 0.5.4
### Patch Changes
-- [#85](https://github.com/asgardeo/web-ui-sdks/pull/85)
- [`1066fef`](https://github.com/asgardeo/web-ui-sdks/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
+- [#85](https://github.com/asgardeo/javascript/pull/85)
+ [`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b) Thanks
[@brionmario](https://github.com/brionmario)! - Fix issues with profile
- Updated dependencies
- [[`1066fef`](https://github.com/asgardeo/web-ui-sdks/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]:
+ [[`1066fef`](https://github.com/asgardeo/javascript/commit/1066fefa855aa646b3026f6e682657e3980ca99b)]:
- @asgardeo/browser@0.1.2
## 0.5.3
### Patch Changes
-- [#83](https://github.com/asgardeo/web-ui-sdks/pull/83)
- [`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
+- [#83](https://github.com/asgardeo/javascript/pull/83)
+ [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
[@brionmario](https://github.com/brionmario)! - Fix NPEs
- Updated dependencies
- [[`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]:
+ [[`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f)]:
- @asgardeo/browser@0.1.1
## 0.5.2
### Patch Changes
-- [#80](https://github.com/asgardeo/web-ui-sdks/pull/80)
- [`3851019`](https://github.com/asgardeo/web-ui-sdks/commit/3851019dfb8b2cd1e77ae40943f393de4d799c41) Thanks
+- [#80](https://github.com/asgardeo/javascript/pull/80)
+ [`3851019`](https://github.com/asgardeo/javascript/commit/3851019dfb8b2cd1e77ae40943f393de4d799c41) Thanks
[@brionmario](https://github.com/brionmario)! - Fix NPEs
## 0.5.1
### Patch Changes
-- [#75](https://github.com/asgardeo/web-ui-sdks/pull/75)
- [`9d5eca7`](https://github.com/asgardeo/web-ui-sdks/commit/9d5eca748006654ff415d86501281f00b8a3800a) Thanks
+- [#75](https://github.com/asgardeo/javascript/pull/75)
+ [`9d5eca7`](https://github.com/asgardeo/javascript/commit/9d5eca748006654ff415d86501281f00b8a3800a) Thanks
[@brionmario](https://github.com/brionmario)! - Stabilize the SDK
## 0.5.0
### Minor Changes
-- [#73](https://github.com/asgardeo/web-ui-sdks/pull/73)
- [`20177f9`](https://github.com/asgardeo/web-ui-sdks/commit/20177f91a3abe6582b6bd767d01650aec3d31e95) Thanks
+- [#73](https://github.com/asgardeo/javascript/pull/73)
+ [`20177f9`](https://github.com/asgardeo/javascript/commit/20177f91a3abe6582b6bd767d01650aec3d31e95) Thanks
[@brionmario](https://github.com/brionmario)! - Introduce `SignUp` & B2B components.
## 0.5.0
### Minor Changes
-- [#71](https://github.com/asgardeo/web-ui-sdks/pull/71)
- [`3aa86ce`](https://github.com/asgardeo/web-ui-sdks/commit/3aa86cebb7077f516994a9a6773f3389e7d6a6c8) Thanks
+- [#71](https://github.com/asgardeo/javascript/pull/71)
+ [`3aa86ce`](https://github.com/asgardeo/javascript/commit/3aa86cebb7077f516994a9a6773f3389e7d6a6c8) Thanks
[@brionmario](https://github.com/brionmario)! - Introduce `SignUp` & B2B components.
## 0.4.0
### Minor Changes
-- [#68](https://github.com/asgardeo/web-ui-sdks/pull/68)
- [`efe951f`](https://github.com/asgardeo/web-ui-sdks/commit/efe951f3dd45a477360b5a3a16990a78dc26982f) Thanks
+- [#68](https://github.com/asgardeo/javascript/pull/68)
+ [`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f) Thanks
[@brionmario](https://github.com/brionmario)! - Support `SignIn` component in `@asgardeo/react`.
### Patch Changes
- Updated dependencies
- [[`efe951f`](https://github.com/asgardeo/web-ui-sdks/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]:
+ [[`efe951f`](https://github.com/asgardeo/javascript/commit/efe951f3dd45a477360b5a3a16990a78dc26982f)]:
- @asgardeo/browser@0.1.0
## 0.3.0
### Minor Changes
-- [#63](https://github.com/asgardeo/web-ui-sdks/pull/63)
- [`a806ea8`](https://github.com/asgardeo/web-ui-sdks/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks
+- [#63](https://github.com/asgardeo/javascript/pull/63)
+ [`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef) Thanks
[@brionmario](https://github.com/brionmario)! - Initial release with basic redirection capabilities and components.
### Patch Changes
- Updated dependencies
- [[`a806ea8`](https://github.com/asgardeo/web-ui-sdks/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]:
+ [[`a806ea8`](https://github.com/asgardeo/javascript/commit/a806ea83e1be5dbb13119b4ded21b26186fb72ef)]:
- @asgardeo/browser@0.0.1
diff --git a/packages/react/package.json b/packages/react/package.json
index 6f59f8eb..c62bab4a 100644
--- a/packages/react/package.json
+++ b/packages/react/package.json
@@ -7,9 +7,9 @@
"react",
"spa"
],
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/packages/react#readme",
+ "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/react#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"author": "WSO2",
"license": "Apache-2.0",
@@ -28,7 +28,7 @@
"types": "dist/index.d.ts",
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
+ "url": "https://github.com/asgardeo/javascript",
"directory": "packages/react"
},
"scripts": {
@@ -73,4 +73,4 @@
"publishConfig": {
"access": "public"
}
-}
+}
\ No newline at end of file
diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md
index 6dc3e51f..5ffaae39 100644
--- a/packages/vue/CHANGELOG.md
+++ b/packages/vue/CHANGELOG.md
@@ -4,8 +4,8 @@
### Patch Changes
-- [#94](https://github.com/asgardeo/web-ui-sdks/pull/94)
- [`cb918a3`](https://github.com/asgardeo/web-ui-sdks/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
+- [#94](https://github.com/asgardeo/javascript/pull/94)
+ [`cb918a3`](https://github.com/asgardeo/javascript/commit/cb918a30a4c195f0ca06f672d6146bbe4d555f27) Thanks
[@brionmario](https://github.com/brionmario)! - This update addresses issues in the `@asgardeo/react-router` package
and exposes the `signInSilently` method from the `@asgardeo/react` package. The changes ensure that the
`ProtectedRoute` component works correctly with the new sign-in functionality.
@@ -14,22 +14,22 @@
### Patch Changes
-- [#87](https://github.com/asgardeo/web-ui-sdks/pull/87)
- [`c0b7ebd`](https://github.com/asgardeo/web-ui-sdks/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
+- [#87](https://github.com/asgardeo/javascript/pull/87)
+ [`c0b7ebd`](https://github.com/asgardeo/javascript/commit/c0b7ebd71adb258d3df9fc336dfcb122e6ff6434) Thanks
[@brionmario](https://github.com/brionmario)! - Fix B2B components
## 0.0.2
### Patch Changes
-- [#83](https://github.com/asgardeo/web-ui-sdks/pull/83)
- [`9cebe25`](https://github.com/asgardeo/web-ui-sdks/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
+- [#83](https://github.com/asgardeo/javascript/pull/83)
+ [`9cebe25`](https://github.com/asgardeo/javascript/commit/9cebe25b74c6429794ee583cd7f110f0a951851f) Thanks
[@brionmario](https://github.com/brionmario)! - Fix NPEs
## 0.0.1
### Patch Changes
-- [#56](https://github.com/asgardeo/web-ui-sdks/pull/56)
- [`74afcc5`](https://github.com/asgardeo/web-ui-sdks/commit/74afcc5bbf3dcfd8a2ec0c0026b709eafbe609a1) Thanks
+- [#56](https://github.com/asgardeo/javascript/pull/56)
+ [`74afcc5`](https://github.com/asgardeo/javascript/commit/74afcc5bbf3dcfd8a2ec0c0026b709eafbe609a1) Thanks
[@3nethz](https://github.com/3nethz)! - initial release
diff --git a/packages/vue/package.json b/packages/vue/package.json
index afb8b04e..ab4cf32a 100644
--- a/packages/vue/package.json
+++ b/packages/vue/package.json
@@ -13,13 +13,13 @@
"LICENSE",
"README.md"
],
- "homepage": "https://github.com/asgardeo/web-ui-sdks/tree/main/packages/vue#readme",
+ "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/vue#readme",
"bugs": {
- "url": "https://github.com/asgardeo/web-ui-sdks/issues"
+ "url": "https://github.com/asgardeo/javascript/issues"
},
"repository": {
"type": "git",
- "url": "https://github.com/asgardeo/web-ui-sdks",
+ "url": "https://github.com/asgardeo/javascript",
"directory": "packages/vue"
},
"keywords": [
diff --git a/samples/__legacy__/nuxt-vite/CHANGELOG.md b/samples/__legacy__/nuxt-vite/CHANGELOG.md
index 3c6cef4e..590c5a15 100644
--- a/samples/__legacy__/nuxt-vite/CHANGELOG.md
+++ b/samples/__legacy__/nuxt-vite/CHANGELOG.md
@@ -5,5 +5,5 @@
### Patch Changes
- Updated dependencies
- [[`74afcc5`](https://github.com/asgardeo/web-ui-sdks/commit/74afcc5bbf3dcfd8a2ec0c0026b709eafbe609a1)]:
+ [[`74afcc5`](https://github.com/asgardeo/javascript/commit/74afcc5bbf3dcfd8a2ec0c0026b709eafbe609a1)]:
- @asgardeo/nuxt@0.0.1
diff --git a/samples/__legacy__/react-vite/CHANGELOG.md b/samples/__legacy__/react-vite/CHANGELOG.md
index be1015d6..92785022 100644
--- a/samples/__legacy__/react-vite/CHANGELOG.md
+++ b/samples/__legacy__/react-vite/CHANGELOG.md
@@ -4,8 +4,8 @@
### Patch Changes
-- [#20](https://github.com/asgardeo/web-ui-sdks/pull/20) [`8eef064`](https://github.com/asgardeo/web-ui-sdks/commit/8eef0641c01de02aa7c4a6d75f059136fcfdb489) Thanks [@movinsilva](https://github.com/movinsilva)! - Add readme files and update build scripts
+- [#20](https://github.com/asgardeo/javascript/pull/20) [`8eef064`](https://github.com/asgardeo/javascript/commit/8eef0641c01de02aa7c4a6d75f059136fcfdb489) Thanks [@movinsilva](https://github.com/movinsilva)! - Add readme files and update build scripts
-- Updated dependencies [[`8eef064`](https://github.com/asgardeo/web-ui-sdks/commit/8eef0641c01de02aa7c4a6d75f059136fcfdb489)]:
+- Updated dependencies [[`8eef064`](https://github.com/asgardeo/javascript/commit/8eef0641c01de02aa7c4a6d75f059136fcfdb489)]:
- react-vite@0.0.1
- @asgardeo/react@0.1.1
diff --git a/samples/__legacy__/vue-vite/CHANGELOG.md b/samples/__legacy__/vue-vite/CHANGELOG.md
index b536471b..2a7e19fe 100644
--- a/samples/__legacy__/vue-vite/CHANGELOG.md
+++ b/samples/__legacy__/vue-vite/CHANGELOG.md
@@ -4,5 +4,5 @@
### Patch Changes
-- Updated dependencies [[`74afcc5`](https://github.com/asgardeo/web-ui-sdks/commit/74afcc5bbf3dcfd8a2ec0c0026b709eafbe609a1)]:
+- Updated dependencies [[`74afcc5`](https://github.com/asgardeo/javascript/commit/74afcc5bbf3dcfd8a2ec0c0026b709eafbe609a1)]:
- @asgardeo/vue@0.0.1
diff --git a/samples/__legacy__/vue-vite/README.md b/samples/__legacy__/vue-vite/README.md
index 7445aa0a..c4e43742 100644
--- a/samples/__legacy__/vue-vite/README.md
+++ b/samples/__legacy__/vue-vite/README.md
@@ -96,7 +96,7 @@ Please read [Contributing to the Code Base](../../CONTRIBUTING.md) for details o
### Reporting Issues
-We encourage you to report issues, improvements, and feature requests by creating [Github Issues](https://github.com/asgardeo/web-ui-sdks/issues).
+We encourage you to report issues, improvements, and feature requests by creating [Github Issues](https://github.com/asgardeo/javascript/issues).
Important: Please be advised that security issues must be reported to security@wso2.com, not as GitHub issues, in order to reach the proper audience. We strongly advise following the WSO2 Security Vulnerability Reporting Guidelines when reporting security issues.
diff --git a/samples/__legacy__/vue-vite/src/components/AuthLayout.vue b/samples/__legacy__/vue-vite/src/components/AuthLayout.vue
index dc57ed07..5d165b90 100644
--- a/samples/__legacy__/vue-vite/src/components/AuthLayout.vue
+++ b/samples/__legacy__/vue-vite/src/components/AuthLayout.vue
@@ -77,7 +77,7 @@ const hideToken = () => {
Practical demonstration of authentication for Single Page Applications using the OpenID
Connect Authorization Code flow with the
Asgardeo Auth Vue SDK