Skip to content

feat(auth): Replace granular scopes with wildcard scope#1612

Merged
Twixes merged 1 commit intomainfrom
posthog-code/wildcard-oauth-scope
Apr 13, 2026
Merged

feat(auth): Replace granular scopes with wildcard scope#1612
Twixes merged 1 commit intomainfrom
posthog-code/wildcard-oauth-scope

Conversation

@Twixes
Copy link
Copy Markdown
Member

@Twixes Twixes commented Apr 13, 2026

Summary

Instead or updating the scopes all the time, proposing we use a single * wildcard scope in PostHog OAuth.

Bumps OAUTH_SCOPE_VERSION from 3 to 4, forcing existing sessions to re-authenticate with the new scope


Created with PostHog Code

Simplifies OAuth scopes to a single `*` wildcard, bumping
OAUTH_SCOPE_VERSION to 4 so existing sessions re-authenticate.

Generated-By: PostHog Code
Task-Id: 4b0bec91-9378-4d57-b6a3-63109299f5d4
@Twixes Twixes changed the title feat(oauth): replace granular scopes with wildcard scope feat(oauth): Replace granular scopes with wildcard scope Apr 13, 2026
@Twixes Twixes changed the title feat(oauth): Replace granular scopes with wildcard scope feat(auth): Replace granular scopes with wildcard scope Apr 13, 2026
@Twixes Twixes marked this pull request as ready for review April 13, 2026 09:55
@Twixes Twixes requested a review from a team April 13, 2026 09:56
@Twixes Twixes merged commit d95d46a into main Apr 13, 2026
15 checks passed
@Twixes Twixes deleted the posthog-code/wildcard-oauth-scope branch April 13, 2026 14:50
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