diff --git a/public/config/google.js b/public/config/google.js index 690ebee1c..3e1c7d99a 100644 --- a/public/config/google.js +++ b/public/config/google.js @@ -13,7 +13,7 @@ window.config = { // Authorization Server URL authority: 'https://accounts.google.com', client_id: 'YOURCLIENTID.apps.googleusercontent.com', - redirect_uri: 'http://localhost:5000/callback', // `OHIFStandaloneViewer.js` + redirect_uri: `${window.location}callback`, // `OHIFStandaloneViewer.js` response_type: 'id_token token', scope: 'email profile openid https://www.googleapis.com/auth/cloudplatformprojects.readonly https://www.googleapis.com/auth/cloud-healthcare', // email profile openid // ~ OPTIONAL