From f828b73901b6f0e8bb94efdf4203327fbe3b3618 Mon Sep 17 00:00:00 2001 From: Thisyahlen Date: Mon, 14 Oct 2024 16:12:16 +0800 Subject: [PATCH] chore: change hostname --- src/components/UserNavbarItem/item.desktop.tsx | 2 +- src/features/Callback/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/UserNavbarItem/item.desktop.tsx b/src/components/UserNavbarItem/item.desktop.tsx index 40e92575..44af5898 100644 --- a/src/components/UserNavbarItem/item.desktop.tsx +++ b/src/components/UserNavbarItem/item.desktop.tsx @@ -34,7 +34,7 @@ const UserNavbarDesktopItem = ({ authUrl, is_logged_in }: IUserNavbarItemProps) authority: data.issuer, client_id: '1011', redirect_uri: - 'http://deriv-api-docs-git-fork-thisyahlen-deriv-thisyahlen-oidc.binary.sx/callback', + 'https://deriv-api-docs-git-fork-thisyahlen-deriv-thisyahlen-oidc.binary.sx/callback', response_type: 'code', scope: 'openid', stateStore: new WebStorageStateStore({ store: window.localStorage }), diff --git a/src/features/Callback/index.tsx b/src/features/Callback/index.tsx index d183a42e..7ca3d59d 100644 --- a/src/features/Callback/index.tsx +++ b/src/features/Callback/index.tsx @@ -36,7 +36,7 @@ export default function CallbackComponent() { body: new URLSearchParams({ grant_type: 'authorization_code', redirect_uri: - 'http://deriv-api-docs-git-fork-thisyahlen-deriv-thisyahlen-oidc.binary.sx/callback', + 'https://deriv-api-docs-git-fork-thisyahlen-deriv-thisyahlen-oidc.binary.sx/callback', code: code, code_verifier: code_verifier, client_id: '1011',