Yandex ID Authentication Integration for Mobile App

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
Yandex ID Authentication Integration for Mobile App
Simple
~1 business day
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1052
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

Developing Yandex ID Authentication

Yandex ID is a standard OAuth2 provider with native SDK for mobile platforms. Demanded in apps targeting Russian audience, especially if app integrates with other Yandex services (Maps, Metrica, Market). Technically — classic OIDC with minimal quirks.

Integration

Yandex provides YandexLoginSDK for iOS (available via SPM and CocoaPods) and Android (Gradle). In developer account at oauth.yandex.ru create app, specify redirect URI, get client_id.

On iOS add URL Scheme yx{client_id} to Info.plist. SDK opens authorization in SFSafariViewController (doesn't leave app, unlike Custom Tabs on Android) — Yandex doesn't use native app-to-app flow like VK.

// iOS
YandexLoginSDK.shared.set(clientID: "YOUR_CLIENT_ID")

// Start authorization
try YandexLoginSDK.shared.authorize(
    with: self,  // UIViewController
    customValues: nil
)

// In AppDelegate/SceneDelegate — redirect handling
func application(_ app: UIApplication, open url: URL, options: [...]) -> Bool {
    return YandexLoginSDK.shared.handleOpen(url, sourceApplication: options[...])
}

After authorization get token (OAuth2 access token). To get user data — request to login.yandex.ru/info?format=json with Authorization: OAuth {token} header. Response contains id, login, default_email, real_name, default_avatar_id.

User avatar: https://avatars.yandex.net/get-yapic/{default_avatar_id}/islands-200 — standard URL for getting photo of needed size.

Server token verification: GET https://login.yandex.ru/info?oauth_token={token} — if token valid, returns user data. That's the verification: invalid token returns 401.

Yandex ID supports refresh tokens — with proper scope=login:info login:email login:avatar setup and force_confirm=false parameter SDK manages refresh automatically.

Timeline: 3-6 working days. Standard integration without unusual requirements.