fix(OpenIDConnect): Stop storing tokens in sessionStorage. Prefix OIDC routes automatically. Add logout button (#698)

This commit is contained in:
Erik Ziegler authored and GitHub committed 2019-07-21 16:43:42 +02:00
1 parent ac347849d0
commit f547fdf832
21 files changed
+143 -74

No files matched your search

+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: `${window.location}callback`, // `OHIFStandaloneViewer.js`
redirect_uri: '/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