diff --git a/OAuth2-Front-Approach.md b/OAuth2-Front-Approach.md index a82cad7..84b7378 100644 --- a/OAuth2-Front-Approach.md +++ b/OAuth2-Front-Approach.md @@ -112,7 +112,7 @@ const loginWithGoogle = () => {
-#### 2.1 Frontend +### 2.1 Frontend Now that the frontend has the Authorization `code` on the callback url, it can send it to the backend @@ -174,7 +174,7 @@ export default Callback;
-#### 2.2 Backend +### 2.2 Backend 1. The Backend **receives** the authorization `code` form the Frontend POST at `xorismesiti.gr/api/auth/exchange-token` 2. The Backend **POST** the Authorization `code` to Google API @@ -277,7 +277,7 @@ app.listen(3000, () => {
-#### 2.3 Front +### 2.3 Front The frontend gets the tokens from the backend response,