diff --git a/src/features/AuthStore/helpers.tsx b/src/features/AuthStore/helpers.tsx index 80b41fa0..f903a763 100644 --- a/src/features/AuthStore/helpers.tsx +++ b/src/features/AuthStore/helpers.tsx @@ -29,7 +29,8 @@ export const getClientNameByRedirectUri = () => { } const redirectUrl = () => { - return 'https://insports.tv/redirect' + getClientNameByRedirectUri() + return `${window.origin}/redirect` } // const redirectUrl = () => {