Update OAuth2-Backend-Approach.md

This commit is contained in:
Ste Vaidis 2025-01-08 12:45:11 +02:00
parent 8894d43637
commit d3b21db8fe

View File

@ -245,6 +245,8 @@ curl -X GET "https://www.googleapis.com/oauth2/v3/userinfo" \
### 💾 Frontend Code
The browser sends the cookie in every request
```js
import { useEffect, useState } from 'react';
import { useNavigate } from 'react-router-dom';