File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 7272 title : "Authorize Frontify"
7373 } ;
7474 const AUTHORIZATION_CONFIG = {
75- domain : 'weare.frontify.com' ,
75+ // domain: 'weare.frontify.com',
7676 clientId : 'client-65yw8hnekdg4mssd' ,
7777 scopes : [ "basic:read" , "finder:read" , "account:read" ] ,
7878 } ;
8383 function authorizeAction ( ) {
8484 // handle domain window
8585 if ( ! token ) {
86- FrontifyAuthenticator . authorize ( AUTHORIZATION_CONFIG , POPUP_CONFIG ) . then ( res => {
86+ authorize ( AUTHORIZATION_CONFIG , POPUP_CONFIG ) . then ( res => {
8787 if ( res ) {
8888 domain = res . domain ;
8989 token = res ;
102102 return ;
103103 }
104104
105- FrontifyAuthenticator . revoke ( token ) . then ( res => {
105+ revoke ( token ) . then ( res => {
106106 token = null ;
107107 delete ( AUTHORIZATION_CONFIG . domain ) ;
108108 } ) ;
113113 return ;
114114 }
115115
116- FrontifyAuthenticator . refresh ( token ) . then ( res => {
116+ refresh ( token ) . then ( res => {
117117 token = res ;
118118 } ) ;
119119 }
You can’t perform that action at this time.
0 commit comments