mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-26 17:25:06 +03:00
feat: return new id_token when using refresh token (#925)
This commit is contained in:
committed by
GitHub
parent
6c696b46c8
commit
307caaa3ef
@@ -167,6 +167,7 @@ test('Successfully refresh tokens with valid refresh token', async ({ request })
|
||||
const tokenData = await refreshResponse.json();
|
||||
expect(tokenData.access_token).toBeDefined();
|
||||
expect(tokenData.refresh_token).toBeDefined();
|
||||
expect(tokenData.id_token).toBeDefined();
|
||||
expect(tokenData.token_type).toBe('Bearer');
|
||||
expect(tokenData.expires_in).toBe(3600);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user