Giter VIP home page Giter VIP logo

Comments (16)

dinershtein avatar dinershtein commented on July 22, 2024

The reason is csrf protection in omniauth-oauth2 1.1.0.

Omniauth-facebook has already updated to omniauth-oauth2 1.1.0.
simi/omniauth-facebook@c07e228

We should did the same with omniauth-vkontakte.

from omniauth-vkontakte.

mamantoha avatar mamantoha commented on July 22, 2024

Thanks!

from omniauth-vkontakte.

7even avatar 7even commented on July 22, 2024

Currently VKontakte doesn't return state parameter with the code so this won't work until it is fixed on VKontakte side. I wrote to their support about it yesturday, still waiting.

from omniauth-vkontakte.

mamantoha avatar mamantoha commented on July 22, 2024

http://ambivalent.ru/2012/web/oauth-vkontakte-authorisation-no-state-parameter/

from omniauth-vkontakte.

AlphaB avatar AlphaB commented on July 22, 2024

I still get this error, how we can fix it ?

from omniauth-vkontakte.

mamantoha avatar mamantoha commented on July 22, 2024

I don't know. You can still use older versions(< 1.1.0) of omniauth-oauth2.

from omniauth-vkontakte.

7even avatar 7even commented on July 22, 2024

Here's the ticket on their support if anyone wants to monitor the issue (and if it can be called a ticket).

from omniauth-vkontakte.

mamantoha avatar mamantoha commented on July 22, 2024

This seems like a bug in Vkontakte.

It works correctly and passes parameter state, only if parameter scope include 'notify'.

from omniauth-vkontakte.

graffzon avatar graffzon commented on July 22, 2024

Still no news?

from omniauth-vkontakte.

mamantoha avatar mamantoha commented on July 22, 2024

my previous message

from omniauth-vkontakte.

milushov avatar milushov commented on July 22, 2024

Any news?

from omniauth-vkontakte.

milushov avatar milushov commented on July 22, 2024

Парни, как зставить работать гем, не форкая и не изменяя версии зависимостей?

from omniauth-vkontakte.

7even avatar 7even commented on July 22, 2024

Видимо, нужно передавать notify в параметре scope, или вообще не задавать этот параметр (там идет notify по умолчанию).

from omniauth-vkontakte.

7even avatar 7even commented on July 22, 2024

Заметил, что state стал возвращаться даже без notify в параметре scope. Видимо, поправили.

from omniauth-vkontakte.

milushov avatar milushov commented on July 22, 2024

@7even, спасибо за инфо

from omniauth-vkontakte.

mamantoha avatar mamantoha commented on July 22, 2024

@7even кстати да… тоже заметил...

from omniauth-vkontakte.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.