Skip to content

Add public client support to Python API#36

Merged
nycomp merged 2 commits into
mainfrom
bugfix/oauth-public-client-support
May 22, 2026
Merged

Add public client support to Python API#36
nycomp merged 2 commits into
mainfrom
bugfix/oauth-public-client-support

Conversation

@nycomp
Copy link
Copy Markdown
Contributor

@nycomp nycomp commented May 21, 2026

Update campus_api_python client API to support new public client fields
from the campus schema changes.

Changes

  • Add is_public and redirect_uris parameters to Clients.new()
  • Add redirect_uris parameter to Clients.Client.update()

These align with the HTTP API changes in campus repo for public
OAuth client support (RFC 6749 Section 2.1).

Related

Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

Update campus_api_python client API to support new public client fields:
- Add is_public and redirect_uris parameters to Clients.new()
- Add redirect_uris parameter to Clients.Client.update()

These align with the HTTP API changes in campus repo for public
OAuth client support (RFC 6749 Section 2.1).

Related: #603

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@nycomp nycomp closed this May 22, 2026
@nycomp nycomp deleted the bugfix/oauth-public-client-support branch May 22, 2026 00:04
@nycomp nycomp restored the bugfix/oauth-public-client-support branch May 22, 2026 00:04
@nycomp nycomp reopened this May 22, 2026
Add `from __future__ import annotations` to fix type hint syntax
error in Python 3.11 where list[str] is not subscriptable in function
signatures without this import.

Fixes CI test failures in PR #36.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@nycomp nycomp merged commit 9cd4664 into main May 22, 2026
2 checks passed
@nycomp nycomp deleted the bugfix/oauth-public-client-support branch May 22, 2026 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants