Commit Graph

13 Commits

Author SHA1 Message Date
Sam
8bd64b8ea3 fix: remove unregistered 'roles' scope from OAuth2 requests
- Remove 'roles' from .env.development and .env.production
- Remove 'roles' from SeedData.cs
- 403 error was caused by requesting unregistered scope
- All registered scopes: openid, profile, email, api, offline_access
2026-02-06 15:49:40 +08:00
Sam
65ea3ecf79 feat: export OAuth2 service functions 2026-02-06 01:48:19 +08:00
Sam
c0874bfab8 feat: implement OAuth2 integration in web-ele
- Add OAuth2 configuration and PKCE service
- Update request interceptor for OAuth2 token management
- Update auth API for OAuth2 token handling
- Update auth store for OAuth2 flow
- Create OAuth callback page
- Update login page for OAuth2
- Add OAuth callback route
- Update environment configuration for OAuth2
2026-02-06 01:47:05 +08:00
Sam
02415839ab feat: add OAuth2 configuration to web-ele 2026-02-06 01:44:17 +08:00
Sam
bad60b5108 feat: add expiresAt support to access store 2026-02-06 01:43:34 +08:00
Sam
c803c2a633 docs: add OAuth2 integration design for Fengling.AuthService
Design document for integrating Vben Admin with Fengling.AuthService using OAuth2 Authorization Code flow with PKCE.

Key features:
- OAuth2 Authorization Code flow with PKCE
- JWT token management with automatic refresh
- Single Logout (SLO) support
- Multi-tenant and RBAC support via claims
- Full error handling and security considerations
2026-02-06 01:24:18 +08:00
Sam
0003b0f1fd feat: implement OAuth 2.0 login flow with auto-redirect
- Modify login page to auto-redirect to auth center
- Update auth store to use OAuth login flow
- Handle OAuth callback and token exchange
- Update logout to use OAuth logout endpoint
2026-02-06 01:14:11 +08:00
Sam
0ebe467927 feat: integrate OAuth 2.0 authentication with Fengling Auth Center 2026-02-06 00:41:41 +08:00
Sam
393296ef3d fix: rename typings.d.ts to typings.ts for proper module resolution 2026-02-06 00:38:28 +08:00
Sam
87db42b5db feat(fengling): add routes and pages for Fengling Console management 2026-02-06 00:30:00 +08:00
Sam
e5bbe101c9 chore: configure environment variables for Fengling API 2026-02-06 00:14:35 +08:00
Sam
9b5198f87a feat(api): migrate TypeScript type definitions and API services 2026-02-06 00:11:36 +08:00
Sam
9600147586 chore: initialize Vben Admin project 2026-02-06 00:04:38 +08:00