fix(config): Fix hardcoded default Google Cloud OAuth redirect_uri (#585) (#675)

This commit is contained in:
Egor Lezhnin authored and Erik Ziegler committed 2019-07-17 17:04:15 +02:00
1 parent 0d5d804741
commit 8e1f15e031
1 file changed
+1 -1
+1 -1
View File
@@ -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