Simple VK Sign-In provides VK (Vkontakte) sign-in with OAuth 2.0 for Android, iOS, Windows, Mac, Universal Windows Platform (UWP) and WebGL apps made with Unity. Why is Simple VK Sign-In better than other libraries?
Need sign-in for Google? Try my another asset Simple Google Sign-In!
Benefits
● Cross-platform user auth for cross-platform games and apps
● No plugins, not 3rd party libs, no dependencies
● No impact to build size
● More security for client-server apps (get access token on a client, get all user data on a server to avoid tampering)
● Deep linking for Windows (UNITY_STANDALONE_WIN) [PLANNED]
Setup steps
Please visit our GitHub for setup instructions.
Generic workflow
● Your app navigates users to VK using a default web browser
● Users perform sign-in to their VK account
● VK redirects users to Authorization Middleware and provides an auth code in URI parameters
● Authorization Middleware activates your app using deep linking (when possible)
● The app is activated and obtains the authorization code
● The app exchanges the code for an access token
● The app requests user data with the access token (ID, name, email and other data according access scope defined)
Known issues
● AndroidManifest.xml workaround for Unity 2022
● Some web browsers may block deep links by default. Test on another device or browser if redirecting doesn't happen.
Support
● VK community - News, discussions, help
● GitHub - Wiki
● GitHub - FAQ & Troubleshooting
● GitHub - Bugs & requests
● Discord - Questions, live chat with developers
It would be super awesome if you rate ★★★★★ our asset and leave your feedback! Your reviews inspire us for creating and improving our assets. Thanks and good luck with your projects!