File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -950,7 +950,7 @@ impl VerifiedProviderMetadata {
950950        } 
951951    } 
952952
953-     /// TODO  
953+     /// URL of the authorization server's userinfo endpoint.  
954954#[ must_use]  
955955    pub  fn  userinfo_endpoint ( & self )  -> & Url  { 
956956        match  & self . userinfo_endpoint  { 
Original file line number Diff line number Diff line change 1- --  Add migration script here
1+ --  Copyright 2024 New Vector Ltd.
2+ -- 
3+ --  SPDX-License-Identifier: AGPL-3.0-only
4+ --  Please see LICENSE in the repository root for full details.
5+ 
6+ --  Add columms to upstream_oauth_providers and upstream_oauth_authorization_sessions
7+ --  table to handle userinfo endpoint.
28ALTER  TABLE  " upstream_oauth_providers" 
39  ADD COLUMN " fetch_userinfo" BOOLEAN  NOT NULL  DEFAULT FALSE,
410  ADD COLUMN " userinfo_endpoint_override" TEXT ;
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments