creepysta opened a new issue, #2493:
URL: https://github.com/apache/polaris/issues/2493
### Is your feature request related to a problem? Please describe.
Currenly the only types of `authenticationType` supported for `ICEBERG_REST`
is
- `BEARER`
- `OAUTH`
The problem is if the external catalog has external IDP enabled, then the
internal token endpoints all returns 501. So `OAUTH` is out of question.
If we configure a `BEARER` with some access token, that token gets baked in
the configuration of the catalog which expires after let's say 1 hour (token
validity of the access token)
### Describe the solution you'd like
In this case, probably it makes sense, that the proxy catalog passes the
token it receives from the client to the EXTERNAL catalog as is.
Sample configuration of this external catalog could be -
```
"connectionConfigInfo": {
"connectionType": "ICEBERG_REST",
"uri": "https://<ext-catalog-uri>/api/catalog",
"remoteCatalogName": "<warehouse-name>",
"authenticationParameters": {
"authenticationType": "PASSTHROUGH"
}
},
```
### Describe alternatives you've considered
_No response_
### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]