From 613a7c9e68a52c642fc78a0890b21839dd38e6ce Mon Sep 17 00:00:00 2001 From: Tyler Date: Mon, 6 Jul 2020 00:18:10 -0600 Subject: [PATCH 1/3] Update redirect URI to be public page --- app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index bf8c45c..925acd4 100644 --- a/app.js +++ b/app.js @@ -17,7 +17,7 @@ let app = new Vue({ auth: { alert: `We will only be able to access your top tracks and artists, nothing else. This is also only done on your browser. Our servers do not see any of the data from your account.`, base_url: `https://accounts.spotify.com/authorize`, - redirect: `http://localhost:5000`, + redirect: `http://tyler.akins.me/top-lists`, client_id: `3a1795e9d55445b0aa0c05dd74c866fb`, scopes: [ `user-top-read` @@ -68,4 +68,4 @@ let app = new Vue({ }, get_data: fetch_data, } -}) \ No newline at end of file +}) From 6fcf24ee7ad4c647e345e5e430b5ba4d5157f431 Mon Sep 17 00:00:00 2001 From: Tyler Date: Tue, 7 Jul 2020 21:29:25 -0600 Subject: [PATCH 2/3] Change to minified Vue version --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 52b75ac..4e2b6ee 100644 --- a/index.html +++ b/index.html @@ -13,7 +13,7 @@ - + @@ -111,4 +111,4 @@ - \ No newline at end of file + From 778591989959ffc8b51dc9f8568e6fd65749e407 Mon Sep 17 00:00:00 2001 From: Tyler Date: Wed, 8 Jul 2020 10:43:04 -0600 Subject: [PATCH 3/3] Don't force the dialogue This allows Spotify to just automatically redirect the user so long as they have already authorized the app fully once. --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 663e886..5008f36 100644 --- a/app.js +++ b/app.js @@ -29,7 +29,7 @@ let app = new Vue({ scopes: [ `user-top-read` ], - show_dialog: true, + show_dialog: false, use_state: false }, user: {