yao/openapi/oauth
Max 5657c75201 Enhance refresh token functionality and response handling
- Updated MakeRefreshToken and generateRefreshToken methods to accept an optional expiresIn parameter for customizable token expiration.
- Modified storeRefreshTokenWithScope to handle dynamic expiration times based on the provided parameter.
- Enhanced the authback function to send cookies with access and refresh tokens, including their respective expiration times.
- Updated LoginResponse structure to include RefreshTokenExpiresIn for better client-side management of token lifetimes.
- Adjusted client configuration to set default refresh token expiration duration.
2025-08-04 16:52:57 +08:00
..
providers Update OAuth client configuration and ID generation methods 2025-08-04 11:04:56 +08:00
types Update OAuth client configuration and ID generation methods 2025-08-04 11:04:56 +08:00
client.go Update OAuth client configuration and ID generation methods 2025-08-04 11:04:56 +08:00
client_test.go Add scope field to dynamic client registration tests 2025-08-04 11:19:45 +08:00
core.go Enhance OAuth token management with PKCE support and refactor tests 2025-07-22 12:55:44 +08:00
core_test.go Refactor test data handling for improved isolation and cleanup 2025-08-03 11:16:46 +08:00
device.go Remove deprecated OAuth interfaces and types 2025-07-17 17:19:22 +08:00
discovery.go Implement JWKS endpoint and enhance OAuth tests 2025-07-21 20:07:46 +08:00
guard.go Refactor OAuth response handling and improve content type management 2025-07-22 15:36:41 +08:00
mcp.go Remove deprecated OAuth interfaces and types 2025-07-17 17:19:22 +08:00
oauth.go Refactor user provider methods to return string IDs and update test data handling 2025-08-03 10:25:09 +08:00
oauth_test.go Refactor test data handling for improved isolation and cleanup 2025-08-03 11:16:46 +08:00
security.go Implement dynamic client registration and enhance OAuth service functionality 2025-07-18 12:11:21 +08:00
security_test.go Refactor test data handling for improved isolation and cleanup 2025-08-03 11:16:46 +08:00
signing.go Implement ID token signing and user fingerprint management in OAuth 2025-08-03 19:51:35 +08:00
TESTING_GUIDE.md Refactor test data handling for improved isolation and cleanup 2025-08-03 11:16:46 +08:00
token.go Enhance refresh token functionality and response handling 2025-08-04 16:52:57 +08:00
token_test.go Refactor test data handling for improved isolation and cleanup 2025-08-03 11:16:46 +08:00
user.go Add go-nanoid dependency and refactor user provider methods 2025-08-02 17:49:03 +08:00
user_test.go Refactor OAuth token management tests and remove deprecated methods 2025-07-21 18:59:26 +08:00