Update OAuth2-Front-Approach.md

This commit is contained in:
Ste Vaidis 2024-12-15 18:52:11 +02:00
parent 393a22345d
commit e31241c951

View File

@ -114,7 +114,7 @@ const loginWithGoogle = () => {
#### 2.1 Frontend #### 2.1 Frontend
Now that the frontend has the Authorization `code` on th callback url https://xorismesiti.gr/api/auth/callback`?code=AAAABCX4XfWgyVyziyLg0QHHHHH` it can send it to the backend with POST to `xorismesiti.gr/api/auth/exchange-token` Now that the frontend has the Authorization `code` on the callback url, it can send it to the backend
<details> <details>
<summary><h3>HTTP POST Request from Frontend to Backend</h3></summary> <summary><h3>HTTP POST Request from Frontend to Backend</h3></summary>