Commit Graph

78 Commits

Author SHA1 Message Date
Taylor Wilsdon
7c09018144 centralize redirect uri logic and update GOOGLE_OAUTH_REDIRECT_URI docs 2025-08-07 10:40:39 -04:00
Taylor Wilsdon
9059691b85 Merge branch 'oauth_2.1' of github.com:taylorwilsdon/google_workspace_mcp into oauth_2.1 2025-08-05 16:42:51 -04:00
Taylor Wilsdon
96f0e234ca dynamic scope awareness 2025-08-05 16:42:46 -04:00
Taylor Wilsdon
13dad56607 Update auth/oauth_common_handlers.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-05 16:39:19 -04:00
Taylor Wilsdon
b9361647ca Update auth/service_decorator.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-08-05 16:38:12 -04:00
Taylor Wilsdon
2f08cec133 logging cleanup 2025-08-05 15:58:22 -04:00
Taylor Wilsdon
7593163506 fully working in all transport modes and fallbacks! 2025-08-05 14:34:11 -04:00
Taylor Wilsdon
e03b10c024 fix stdio 2025-08-05 11:22:22 -04:00
Taylor Wilsdon
ee792b65d8 refac to remove duplicate OAuth 2.1 routes in core/server.py 2025-08-05 11:00:53 -04:00
Taylor Wilsdon
e54450cdad refac to remove duplicate OAuth 2.1 routes in core/server.py 2025-08-05 11:00:48 -04:00
Taylor Wilsdon
07c065c57b Created a _process_request_for_auth helper method 2025-08-05 10:44:27 -04:00
Taylor Wilsdon
0967594097 completely working 2025-08-05 10:22:01 -04:00
Taylor Wilsdon
71e2f1ba3e Enhanced Session Management better guardrails 2025-08-03 15:51:04 -04:00
Taylor Wilsdon
ff9b7ecd07 cleanup 2025-08-03 12:19:19 -04:00
Taylor Wilsdon
ba48a4803d refac bridge and context modules, absorb essential functioanlity into oaauth21sessionstore 2025-08-03 11:27:50 -04:00
Taylor Wilsdon
bb55feed83 cleanup redundant session stores 2025-08-03 11:12:58 -04:00
Taylor Wilsdon
2836f6c45f refactor to clean up scopes 2025-08-03 10:30:04 -04:00
Taylor Wilsdon
d5949ee5b1 validate jwks, fix service decorator session handling 2025-08-03 10:07:55 -04:00
Taylor Wilsdon
2a4118bb65 fix all ruff check issues 2025-08-02 18:55:35 -04:00
Taylor Wilsdon
e37803240a everything working, including session correlation and service decorator oauth awareness 2025-08-02 18:50:49 -04:00
Taylor Wilsdon
c45bb3956c oauth2.1 truly works 2025-08-02 18:25:08 -04:00
Taylor Wilsdon
9470a41dde almost there, working out session persistence 2025-08-02 15:40:23 -04:00
Taylor Wilsdon
06ef1223dd cleanup 2025-08-02 14:33:33 -04:00
Taylor Wilsdon
5aae243b22 minimal fastmcp based oauth working 2025-08-02 14:32:42 -04:00
Taylor Wilsdon
b2f5ec1052 successful client to server flow, not passing through. overcomplicated. need to refactor based on new fastmcp oauth wrapper 2025-08-02 10:38:11 -04:00
Taylor Wilsdon
dad52829f8 oauth2.1 working - quick flow in mcp inspector 2025-08-02 09:52:16 -04:00
Taylor Wilsdon
f77f4d742d add google pse support 2025-07-30 09:52:10 -04:00
Taylor Wilsdon
2d50a73518 threadlock for oauth server teardown 2025-07-26 16:56:47 -04:00
Taylor Wilsdon
701bbe999a threadlock for oauth server teardown 2025-07-26 16:56:14 -04:00
Taylor Wilsdon
16c32e93fb fix threading communication issue 2025-07-26 16:44:02 -04:00
Taylor Wilsdon
21ebff4b8a added same server availability check that exists in start_google_auth to the start_auth_flow function 2025-07-26 16:20:57 -04:00
Taylor Wilsdon
19fe08a37f add more elegant handling for oauth server startup in stdio mode 2025-07-26 16:02:31 -04:00
Taylor Wilsdon
f0976514e2 remove mcp session id 2025-07-26 12:05:22 -04:00
Taylor Wilsdon
d4dc255f16 resolve all ruff check errors 2025-07-18 18:04:06 -04:00
Taylor Wilsdon
28a31904d7 clean up stdio 2025-07-10 14:33:24 -04:00
Taylor Wilsdon
6016fb8dbe cleanup imports 2025-07-10 14:06:00 -04:00
Taylor Wilsdon
a2fec7dcdd fix imports in auth 2025-07-10 14:05:08 -04:00
Taylor Wilsdon
336007349d stage 2025-07-10 08:04:07 -04:00
Taylor Wilsdon
8adf719c58 add google tasks 2025-07-09 11:54:23 -04:00
Taylor Wilsdon
6f48a04545 Update stdio startup and credentails path for easier claude desktop autoinstall 2025-07-04 16:10:01 -04:00
Taylor Wilsdon
d275c405f1 Update auth/google_auth.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-06-28 13:33:44 -07:00
Taylor Wilsdon
33eaa47d0c refactored the credential checking logic into a shared helper function to reduce code duplication 2025-06-28 12:56:43 -07:00
Taylor Wilsdon
5f08c89468 302 GOOGLE_CLIENT_SECRETS to GOOGLE_CLIENT_SECRET_PATH 2025-06-28 12:14:42 -07:00
Taylor Wilsdon
fef8479620 add environment variable support for google oauth client secret file generation with fallback to file based 2025-06-28 12:06:36 -07:00
Taylor Wilsdon
97edbc4ff8 handle_http_errors decorator to simplify tool error handling 2025-06-18 16:29:35 -04:00
Taylor Wilsdon
b6ca27c581 dynamically adjusts the function signature exposed to the MCP server, removing the service parameter from the public API for all decorated tools 2025-06-18 12:21:30 -04:00
Taylor Wilsdon
2ffe80290a add google slides support 2025-06-11 14:46:05 -04:00
Taylor Wilsdon
808504928b dedupe, remove circular imports 2025-06-09 17:36:31 -04:00
Taylor Wilsdon
0ec59fcd3c fix service decorator 2025-06-09 16:56:00 -04:00
Taylor Wilsdon
96da15be22 add expiry handling 2025-06-08 12:31:18 -04:00