Skip to content

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

Merged
IharKrasnik merged 3 commits intoak/boostfrom
al/mobile-auth-api
Mar 11, 2026
Merged

feat(auth): add mobile client authentication support#407
IharKrasnik merged 3 commits intoak/boostfrom
al/mobile-auth-api

Conversation

@aleksays
Copy link
Copy Markdown
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
@cr1of0x cr1of0x changed the base branch from main to ak/boost March 9, 2026 06:48
@IharKrasnik IharKrasnik merged commit 317a223 into ak/boost Mar 11, 2026
1 check passed
@IharKrasnik IharKrasnik deleted the al/mobile-auth-api branch March 11, 2026 10:43
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.

3 participants