joaoferrao commented on PR #27631:
URL: https://github.com/apache/superset/pull/27631#issuecomment-2310854789

   @betodealmeida I've been trying to adapt this to work with Trino but I'm a 
bit stuck. I got the `OAuth2RedirectError` to be raised and the obligatory 
`tab_id`, `redirect_uri` and `oauth_url` as well.
   ```
   │ superset Traceback (most recent call last):                                
                                                                                
                                                                                
       
   │ superset   File "/app/superset/models/core.py", line 569, in 
get_raw_connection                                                              
                                                                                
                     
   │ superset     yield conn                                                    
                                                                                
                                                                                
       
   │ superset   File "/app/superset/models/core.py", line 678, in get_df        
                                                                                
                                                                                
       
   │ superset     self.db_engine_spec.execute(cursor, sql_, self)               
                                                                                
                                                                                
       
   │ superset   File "/app/superset/db_engine_specs/base.py", line 1863, in 
execute                                                                         
                                                                                
           
   │ superset     cls.start_oauth2_dance(database)                              
                                                                                
                                                                                
       
   │ superset   File "/app/superset/db_engine_specs/base.py", line 493, in 
start_oauth2_dance                                                              
                                                                                
            
   │ superset     raise OAuth2RedirectError(oauth_url, tab_id, 
default_redirect_uri)                                                           
                                                                                
                        
   │ superset superset.exceptions.OAuth2RedirectError: You don't have 
permission to access the data.                                                  
                                                                                
                
   ```
   Buuut, the FE doesn't show any interaction, no new tabs, no request for 
permissions for the website missing, etc.
   
   The question: any tip on what I could look into?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to