Skip to content

feat(auth): add mobile client authentication support#407

Open
aleksays wants to merge 1 commit intomainfrom
al/mobile-auth-api
Open

feat(auth): add mobile client authentication support#407
aleksays wants to merge 1 commit intomainfrom
al/mobile-auth-api

Conversation

@aleksays
Copy link
Contributor

  • Add ACCESS_MOBILE token type and client type detection utility
  • Update auth endpoints to return tokens in response body for mobile clients
  • Add google-mobile endpoint for mobile Google OAuth
  • Support automatic client type detection via headers (X-Client-Type or Authorization Bearer)

Mobile clients receive tokens in response body, web clients continue using cookies.

- Add ACCESS_MOBILE token type and client type detection utility
- Update auth endpoints to return tokens in response body for mobile clients
- Add google-mobile endpoint for mobile Google OAuth
- Support automatic client type detection via headers (X-Client-Type or Authorization Bearer)

Mobile clients receive tokens in response body, web clients continue using cookies.

Co-authored-by: Cursor <cursoragent@cursor.com>
@aleksays aleksays requested review from IharKrasnik, cr1of0x and fruneen and removed request for fruneen February 20, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant