Compare commits
2 Commits
e647e4ca8c
...
22cb9bed51
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22cb9bed51 | ||
|
|
60e52e80d5 |
@@ -41,7 +41,7 @@
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
// Добавил device_id и public_key (как требует ваш auth.proto)
|
||||
body: JSON.stringify({ username, password, deviceId: 'stub-device', publicKey: 'stub-key' }),
|
||||
body: JSON.stringify({ username, password, deviceId: 'stub-device', publicKey: 'N6fByS7oTIOX6m7on8h6T093SOn3df67o6v6n6n6n6o=' }),
|
||||
// КРИТИЧЕСКИ ВАЖНО: заставляет браузер сохранить куку refreshToken
|
||||
credentials: 'include'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user