You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "danhuawang (via GitHub)" <gi...@apache.org> on 2025/08/06 08:11:53 UTC

[I] [Bug report] UI: if authenticators is oauth, github repo api authorized failed [gravitino]

danhuawang opened a new issue, #7947:
URL: https://github.com/apache/gravitino/issues/7947

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   <img width="1912" height="1033" alt="Image" src="https://github.com/user-attachments/assets/17bcfbe4-9fed-4960-8d1b-9bb71b9a005a" />
   
   ### Error message and/or stacktrace
   
   ```
   {
     "message": "Bad credentials",
     "documentation_url": "https://docs.github.com/rest",
     "status": "401"
   }
   
   ```
   
   ### How to reproduce
   
   1. Set authenticators to oauth
   ```
   gravitino.authorization.enable = true
   gravitino.authenticators = oauth
   ```
   2. Go to the web page ,create catalog ,schema,fileset. Check the apache repo stars number
   
   ### Additional context
   
   _No response_


-- 
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: commits-unsubscribe@gravitino.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] UI: if authenticators is oauth, github repo api authorized failed [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao closed issue #7947: [Bug report] UI: if authenticators is oauth, github repo api authorized failed
URL: https://github.com/apache/gravitino/issues/7947


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] UI: if authenticators is oauth, github repo api authorized failed [gravitino]

Posted by "bharos (via GitHub)" <gi...@apache.org>.
bharos commented on issue #7947:
URL: https://github.com/apache/gravitino/issues/7947#issuecomment-3190080499

   I think we should skip Github calls from OAuth entirely, because it's an external API and we don't need to attach the token for these API calls. 


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] UI: if authenticators is oauth, github repo api authorized failed [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on issue #7947:
URL: https://github.com/apache/gravitino/issues/7947#issuecomment-3190234002

   OK, sure.


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] UI: if authenticators is oauth, github repo api authorized failed [gravitino]

Posted by "xunliu (via GitHub)" <gi...@apache.org>.
xunliu commented on issue #7947:
URL: https://github.com/apache/gravitino/issues/7947#issuecomment-3166261624

   hi @danhuawang this bug is not related to Cache and metadata Authz.


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] UI: if authenticators is oauth, github repo api authorized failed [gravitino]

Posted by "bharos (via GitHub)" <gi...@apache.org>.
bharos commented on issue #7947:
URL: https://github.com/apache/gravitino/issues/7947#issuecomment-3189963406

   >Go to the web page ,create catalog ,schema,fileset. Check the apache repo stars number
   
   @danhuawang are you saying that it shows the repo & stars number after login, and only after when you do create catalog ,schema,fileset  it stops showing ? Or is it always showing you 0 ?


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug report] UI: if authenticators is oauth, github repo api authorized failed [gravitino]

Posted by "bharos (via GitHub)" <gi...@apache.org>.
bharos commented on issue #7947:
URL: https://github.com/apache/gravitino/issues/7947#issuecomment-3189993328

   @LauraXia123  @jerryshao LMK if I can work on it, as I have recently made oauth related code changes.


-- 
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: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org