[
https://issues.apache.org/jira/browse/DRILL-8148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496415#comment-17496415
]
ASF GitHub Bot commented on DRILL-8148:
---------------------------------------
cgivre opened a new pull request #2473:
URL: https://github.com/apache/drill/pull/2473
# [DRILL-8148](https://issues.apache.org/jira/browse/DRILL-8148): Add REST
Endpoints to Update OAuth Tokens
## Description
This PR adds three REST endpoints to Drill to facilitate updating OAuth
tokens for REST API calls.
## Documentation
The following API calls are now available for updating an HTTP Storage
Plugin's OAuth tokens if OAuth is used. These three new endpoints are `POST`
requests and accept the tokens as part of the form body.
* `/storage/{plugin name}/update_access_token`
* `/storage/{plugin name}/update_refresh_token`
* `/storage/{plugin name}/update_oauth_tokens`
These endpoints take as arguments: `access_token`, `refresh_token` or both.
## Testing
Added unit tests.
--
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]
> Add REST Endpoints to Update OAuth Tokens
> -----------------------------------------
>
> Key: DRILL-8148
> URL: https://issues.apache.org/jira/browse/DRILL-8148
> Project: Apache Drill
> Issue Type: Improvement
> Affects Versions: 1.20.0
> Reporter: Charles Givre
> Assignee: Charles Givre
> Priority: Major
> Fix For: Future
>
>
> See attached PR
--
This message was sent by Atlassian Jira
(v8.20.1#820001)