mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 16:10:43 +00:00
### **User description**
cherry picked from v0.60.0 : the previous route for this was GET not
POST, accidentally changed in auxm migration
___
### **PR Type**
Bug fix
___
### **Description**
- Change dex_refresh route method to GET
- Revert accidental POST method change
___
### Diagram Walkthrough
```mermaid
flowchart LR
Client["Client"]
Handler["refresh_token_with_dex handler"]
Client -- "GET /dex_refresh" --> Handler
```
<details> <summary><h3> File Walkthrough</h3></summary>
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Bug
fix</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>mod.rs</strong><dd><code>Use GET for dex_refresh
route</code>
</dd></summary>
<hr>
src/handler/http/router/mod.rs
- Changed `/dex_refresh` route from POST to GET
</details>
</td>
<td><a
href="https://github.com/openobserve/openobserve/pull/10236/files#diff-02556e3f515441b5d2b6bbea7829df488beac03c4cc41309a6638ae3c0e0aec6">+1/-1</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
</details>
___
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Yashodhan Joshi <yjdoc2@gmail.com>