Skip to content

OAuth callback URL incorrectly prefixed with https://kick.com after third-party login (Apple / Google) #376

@FZK802399

Description

@FZK802399

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

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions