File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 140140  generator  =  ":write-sdl" ,
141141  args  =  ["admin" ],
142142  deps_srcs  =  [":src" ],
143- 
144143  visibility  =  ["PUBLIC" ],
145144)
146145
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ export const env = createEnv({
123123      . pipe ( z . coerce . number ( ) ) 
124124      . default ( 50052 ) , 
125125
126+     GCS_APPLICATION_CREDENTIALS_PATH : z . string ( ) . min ( 1 ) . optional ( ) , 
126127    NEXTCLOUD_URL : z . string ( ) . min ( 1 ) . optional ( ) , 
127128    NEXTCLOUD_USER : z . string ( ) . min ( 1 ) . optional ( ) , 
128129    NEXTCLOUD_PASSWORD : z . string ( ) . min ( 1 ) . optional ( ) , 
@@ -233,6 +234,7 @@ export const env = createEnv({
233234    PRICE_HISTORY_HOST : process . env . PRICE_HISTORY_HOST , 
234235    PRICE_HISTORY_PORT : process . env . PRICE_HISTORY_PORT , 
235236
237+     GCS_APPLICATION_CREDENTIALS_PATH : process . env . GCS_APPLICATION_CREDENTIALS_PATH , 
236238    NEXTCLOUD_URL : process . env . NEXTCLOUD_URL , 
237239    NEXTCLOUD_USER : process . env . NEXTCLOUD_USER , 
238240    NEXTCLOUD_PASSWORD : process . env . NEXTCLOUD_PASSWORD , 
Original file line number Diff line number Diff line change 106106  mutators :
107107    - handler : id_token 
108108      config : # ! TODO: add aud: {"aud": ["https://api/admin/graphql"] }
109-         claims : " { \ "\ "\ "\ "\" role \ "\ "role  }}\ "\" email \ "\ "user.emailr  }}\ "" 
109+         claims : ' { "sub": "{{ print .Subject }}", "scope ": "{{ print .Extra.scope  }}", "role ": "{{ print .Extra.role  }}" }' 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments