-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Describe the bug
Video Picker generates different callback URLs between Craft 4 and 5, causing OAuth redirect_uri_mismatch errors when using the same Google OAuth client credentials across sites.
- Craft 4 (v1.x):
https://example.com/video-picker/auth/callback/(with trailing slash) - Craft 5 (v2.x):
https://example.com/video-picker/auth/callback(no trailing slash)
Steps to reproduce
- Set up Video Picker on Craft 4.x (v1.x plugin)
- Set up Video Picker on Craft 5.x (v2.x plugin)
- Use same Google OAuth client credentials
- Compare generated callback URLs
Craft CMS version
Craft 4.15.0.2 & Craft 5.7.11
Plugin version
1.0.3 & 2.0.3
Multi-site?
Craft 4 (No), Craft 5 (Yes)
Additional context
Both sites have addTrailingSlashesToUrls(true) config and I double-checked site URLs in ENV vars.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels