Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Laravel Auth | 2,861 | a day ago | 5 | mit | JavaScript | |||||
Laravel 10 with user authentication, registration with email confirmation, social media authentication, password recovery, and captcha protection. Uses offical [Bootstrap 4](http://getbootstrap.com). This also makes full use of Controllers for the routes, templates for the views, and makes use of middleware for routing. 5 Minutes Stand-up time. | ||||||||||
Django Social Auth | 2,564 | 299 | 3 | 6 years ago | 84 | September 07, 2013 | 4 | other | Python | |
Django social authentication made simple | ||||||||||
Django Rest Auth | 2,331 | 1,109 | 24 | 10 months ago | 25 | April 01, 2019 | 234 | mit | Python | |
This app makes it extremely easy to build Django powered SPA's (Single Page App) or Mobile apps exposing all registration and authentication related functionality as CBV's (Class Base View) and REST (JSON) | ||||||||||
Webauthn | 998 | 6 months ago | bsd-3-clause | Go | ||||||
WebAuthn (FIDO2) server library written in Go | ||||||||||
Yii2 User | 949 | 611 | 61 | a year ago | 26 | April 03, 2018 | 111 | mit | PHP | |
[ABANDONED] Flexible user registration and authentication module for Yii2 | ||||||||||
Django Registration | 844 | 2,379 | 21 | 9 days ago | 25 | May 28, 2022 | 3 | bsd-3-clause | Python | |
An extensible user-registration app for Django. | ||||||||||
Php Auth | 842 | 32 | 13 | a year ago | 38 | April 21, 2021 | 30 | mit | PHP | |
Authentication for PHP. Simple, lightweight and secure. | ||||||||||
Openid Connect Php | 500 | 23 | 6 | 13 days ago | 20 | September 30, 2022 | 77 | apache-2.0 | PHP | |
Minimalist OpenID Connect client | ||||||||||
Django Rest Registration | 433 | 11 | a day ago | 43 | March 23, 2022 | 17 | mit | Python | ||
User-related REST API based on the awesome Django REST Framework | ||||||||||
U2f | 387 | 24 | 11 | 5 years ago | 4 | October 11, 2017 | 3 | JavaScript | ||
U2F Authentication for Node.js |
Django app for developing vk.com (aka vkontakte.ru largest, Russian social network) iframe applications.
Handles user authentication and registration.
$ pip install django-vkontakte-iframe
Optional:
request.vk_api
and for
populating cities and countries info via admin action.Register and configure vkontakte iframe application here: http://vkontakte.ru/apps.php?act=add
Add your app's settings to settings.py:
VK_APP_ID = '1234567' # Application ID VK_APP_KEY = 'M1gytuHwni' # Application key VK_APP_SECRET = 'MiRFwrDYwcYFCTD18EcY' # Secure key
Add 'vk_iframe' to INSTALLED_APPS
.
Add 'vk_iframe.backends.VkontakteUserBackend' to AUTHENTICATION_BACKENDS:
AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.ModelBackend', 'vk_iframe.backends.VkontakteUserBackend', )
Put 'vk_iframe.middleware.AuthenticationMiddleware', 'vk_iframe.middleware.IFrameFixMiddleware' and 'vk_iframe.middleware.LoginRequiredMiddleware' to MIDDLEWARE_CLASSES:
MIDDLEWARE_CLASSES = [ # ... 'django.contrib.auth.middleware.AuthenticationMiddleware', # ... 'vk_iframe.middleware.IFrameFixMiddleware', 'vk_iframe.middleware.AuthenticationMiddleware', # ... 'django.middleware.locale.LocaleMiddleware', # ... 'vk_iframe.middleware.LoginRequiredMiddleware', ]
Please note that 'vk_iframe.middleware.AuthenticationMiddleware' must be after 'django.contrib.auth.middleware.AuthenticationMiddleware' but before 'django.middleware.locale.LocaleMiddleware'.
'vk_iframe.middleware.LoginRequiredMiddleware' must be after 'vk_iframe.middleware.AuthenticationMiddleware'.
Vkontakte visitors will be automatically registered and authorized as django users (username == vkontakte user id).
LoginRequiredMiddleware is an optional. It returns 403 for all unauthorized requests with urls not listed in settings.PUBLIC_URLS. You should enable it for security reasons. Example of PUBLIC_URLS:
PUBLIC_URLS = [ '^admin/$', '^my-callback/', ]
If i18n is in use then vkontakte user's language will be used as django's user language.
Run python ./manage.py syncdb
(or python ./manage.py migrate vk_iframe
if
South is used)
Optional: load initial geo data (cities and countries):
python manage loaddata vk-geo
If you want to store more user data then put the following line as the 'First API request' (' API') option (in your app edit page at vkontakte.ru):
method=getProfiles&uids={viewer_id}&format=json&v=3.0&fields=uid,first_name,last_name,nickname,domain,sex,bdate,city,country,timezone,photo,photo_medium,photo_big,photo_rec,has_mobile,rate,contacts,education
For IE: adjust P3P policy header value according to your site privacy policy by providing VK_P3P_POLICY option in your settings.py:
VK_P3P_POLICY = 'IDC DSP COR IVAi IVDi OUR TST'
Default value is 'IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT'. See http://www.p3pwriter.com/LRN_111.asp for the full set of tags.
That's all. All your app's visitors are now registered and authenticated
django users. Additional profile data is available as user.vk_profile.
vkontakte.API
instance is available as request.vk_api
if there is
an access token available.