From 250d3cbc220c43dabb1d98ce7bb87808edbadd5c Mon Sep 17 00:00:00 2001 From: Nick Taras Date: Thu, 14 Sep 2023 14:50:16 +1000 Subject: [PATCH] socios oauth fix added cors to call back uri --- socios-oauth2/public/socios-client-config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/socios-oauth2/public/socios-client-config.js b/socios-oauth2/public/socios-client-config.js index 7511fd194..90e3de9bb 100644 --- a/socios-oauth2/public/socios-client-config.js +++ b/socios-oauth2/public/socios-client-config.js @@ -9,7 +9,6 @@ const sociosClientConfig = () => { contract: "0x3506424F91fD33084466F402d5D97f05F8e3b4AF", oAuth2options: { consumerKey: "PBK9Mx_ffFRUPHW9BLTxnGHRdywa", - redirectURI: "https://socios-oauth2.tokenscript.org/user-login-callback", partnerTag: "smarttokenlabs", returnToApplicationURL: "/index.html", endpoints: { @@ -18,11 +17,11 @@ const sociosClientConfig = () => { params: {} }, userBalance: { - path: 'https://socios-oauth2.tokenscript.org/user-login-callback', + path: 'https://socios-oauth2.tokenscript.org/user-balance', params: {} }, userNfts: { - path: 'https://socios-oauth2.tokenscript.org/user-login-callback', + path: 'https://socios-oauth2.tokenscript.org/user-nfts', params: {} }, }