Describe the bug
When integrating Kick's OAuth flow using ASWebAuthenticationSession on iOS, the redirect URL after completing third-party login (Apple Sign In or Google Sign In) is malformed — Kick's server incorrectly prepends
https://kick.com/ to the next redirect URL, causing the OAuth flow to fail.
To Reproduce
- Initiate Kick OAuth flow via ASWebAuthenticationSession with the authorization URL:
https://id.kick.com/oauth/authorize?client_id=...&redirect_uri=...
2. On the Kick login page, select "Continue with Apple" or "Continue with Google"
3. Complete the third-party authentication
4. Observe the redirect URL returned by Kick
Expected behavior
Kick should redirect back to:
https://id.kick.com/oauth/authorize?client_id=...&redirect_uri=...
Actual Behavior
Kick redirects to a malformed URL:
https://kick.comhttps//id.kick.com/oauth/authorize?client_id=...&redirect_uri=...
Two issues are present:
- https://kick.com/ is incorrectly prepended to the full redirect URL
- The https:// in the original URL loses its colon, becoming https//
Impact
- Affects all third-party login providers (Apple, Google, etc.)
- OAuth flow cannot complete — ASWebAuthenticationSession never receives the callback
- All third-party developers integrating Kick OAuth on iOS are affected
-
Environment
- Platform: iOS (ASWebAuthenticationSession)
- Kick OAuth endpoint: https://id.kick.com/oauth/authorize
- Reproducible with both Apple Sign In and Google Sign In
Describe the bug
When integrating Kick's OAuth flow using ASWebAuthenticationSession on iOS, the redirect URL after completing third-party login (Apple Sign In or Google Sign In) is malformed — Kick's server incorrectly prepends
https://kick.com/ to the next redirect URL, causing the OAuth flow to fail.
To Reproduce
https://id.kick.com/oauth/authorize?client_id=...&redirect_uri=...
2. On the Kick login page, select "Continue with Apple" or "Continue with Google"
3. Complete the third-party authentication
4. Observe the redirect URL returned by Kick
Expected behavior
Kick should redirect back to:
https://id.kick.com/oauth/authorize?client_id=...&redirect_uri=...
Actual Behavior
Kick redirects to a malformed URL:
https://kick.comhttps//id.kick.com/oauth/authorize?client_id=...&redirect_uri=...
Two issues are present:
- https://kick.com/ is incorrectly prepended to the full redirect URL
- The https:// in the original URL loses its colon, becoming https//
Impact
- OAuth flow cannot complete — ASWebAuthenticationSession never receives the callback
- All third-party developers integrating Kick OAuth on iOS are affected
-
Environment
- Kick OAuth endpoint: https://id.kick.com/oauth/authorize
- Reproducible with both Apple Sign In and Google Sign In