Vkontakte authentication using django-social-auth - authentication

I have a problem integrating Vkontakte authentication using django-social-auth (https://github.com/omab/django-social-auth). I know that I have set everything right with AUTHENTICATION_BACKENDS as well as the API_KEYS and SECRETS for VKONTAKTE but still it does not work. I also have an authentication with Facebook and it works fine so I know that I am doing it right. Django-Social-Auth's documentation says about adding some JS script to make the authentication work but doesn't even provide some useful information about the script.
Can somebody provide some useful information about this? If you could provide some very nice tutorial on how to implement Vkontakte authentication using django-social-auth that would be great!
Thanks a lot guys! =)

If the url you're using is something like "http://localhost:8000/login/vkontakte/", try to change it to "http://localhost:8000/login/vkontakte-oauth2/".

Related

How to call Bitrix24's API using Postman?

I researched on google and I'm stuck while I try to find out Bitrix24 API docs for users using PostMan. Is there an available resource that could help me solve my trouble? , I hope I could retrieve a document or some things like this. Thanks for reading <3
Try this endpoint on your postman
https://example.bitrix24.id/rest/crm.product.list
This is for the CRM Product List
https://training.bitrix24.com/rest_help/crm/products/crm_product_list.php
if this dosent work you can put .json
https://example.bitrix24.id/rest/crm.product.list.json
for the authentication you can go to Developer Resources - Other - Local Application
and put Postman callback on the Handler (https://oauth.pstmn.io/v1/callback).
dont forget to click the Script Only.

How Ckan-oauth2 extension works?

I have been researching on oauth2 extension of ckan, from below url's :
https://github.com/conwetlab/ckanext-oauth2
https://github.com/etalab/ckanext-oauth2
i have installed the extension and added the configurations to development.ini. I have setup the oauth server too..
but i'm not sure how this extenstion actually works ?
can anyone please suggest me some documentions for this...
Thanks in advance
I got my Ckan-Oauth2 extension working atlast..
How this extension Works or what changes after adding this extension are :
Authentication is done by Oauth Server instead of Ckan basic authentication.
Accessing API's can be done by Access Token generated by Oauth Server instead of static API-KEY.
I couldn't find any documentation for this but i have tested these.. :)
Hope it helps

MobileVLCKit authentication

I am looking at MobileVLCKit for at video project where I do RTSP streams on IOS.
I have run into a problem though, that I hope some can help me with, as I I have not been able to find anything useable through hours of Googling :)
The stream requires user authentication (basic auth), and when I provide the stream with the username and password included in the URL, everything works fine. However, when I do not include it the stream obviously does not work. What I had expected was either to get some sort of indication that was a 401 error happening or that I was requested to provide username and password by the framework.
Hope someone can shed some light on this problem :)

How to Intergrate Alfresco with an Web application?

I want to intergrate alfresco with web application. i.e i have created a login page for my application.Now i want to use the same username and password to login to alfresco so that i dont have to login again using alfresco login page. Can anyone help me out in this?
Thanks and regards,
than1234
Please refer to login in http://wiki.alfresco.com/wiki/Repository_RESTful_API_Reference
Also look for SSO (Single-Sign On)... it would not only avoid your users to re-login to Alfresco, but to other applications. There is information in the manual, the wiki.alfresco.com site, and just by Googling. There are multiple ways to doing it, and choosing will depend on the protocols that you are using. Happy SSO'ing!
Look at this: http://wiki.alfresco.com/wiki/Repository_RESTful_API_Reference#Login
When you make a HTTP GET request to "/alfresco/service/api/login?u={username}&pw={password?}" you get alf_ticket back which you then use in following request instead of loging in each time.
You just append "&alf_ticket=YOUR_TICKET" in your requests... :)

How To Approach Authentication In My Web App? JSF2 + Spring3 + GlassFish3 + Hibernate

I'm building a new web app from scratch for a client.
The tools are JSF2, PrimeFaces, Spring3, GlassFish3, Hibernate.
I have a basic web app working fine. Now I have to put authentication in.
My first thought was to hack together a login form that sets a session variable and have a phase listener check for the session variable and redirect to "logged out" when the variable is invalid or too old. But that sounds like a total hack.
I've googled, but I don't really know where to start. What's the REAL way of doing authentication in my web app on my platform?
Can anyone help, or point me to a tutorial, or the relevant documentation?
Any help is greatly appreciated,
rh
The phaselistener you thought about is one of the solution in JSF. Another solution is Spring security. If you are not thinking about any of these, you can try Servlet filter