Coder Social home page Coder Social logo

not logging in about drupal-openid_connect HOT 3 CLOSED

greg606 avatar greg606 commented on December 17, 2015

Hi,
I try to implement it with drupal/oauth2_server.
When I am redirected back to clientsite.com/en/openid-connect/generic nothing happens it just goes to /node and that's it.
Any idea how fix it?

Warning: Cannot modify header information - headers already sent by (output started at /vendor/symfony/http-foundation/Response.php:1151) in Drupal\Core\Session\SessionManager->destroy() (line 267 of /website/core/lib/Drupal/Core/Session/SessionManager.php).

Also while debug in RedirectController I have no $tokens

Which probably is connected with this repsponse:
Could not retrieve tokens. Details: Client error: POST http://mysite.com/oauth2/token resulted in a 403 Forbidden response: <!-- FILE NAME SUGGESTIONS: * html--system--403.html.twig * htm (truncated...)

from drupal-openid_connect.

Comments (3)

greg606 avatar greg606 commented on December 17, 2015

the problem were oauth server permissions.

from drupal-openid_connect.

sanduhrs avatar sanduhrs commented on December 17, 2015

Just for posterity: You need to give permissions to your user to Use OAuth2 Server on drupal/oauth2_server side.

from drupal-openid_connect.

greg606 avatar greg606 commented on December 17, 2015

thanks ;)

from drupal-openid_connect.

Related Issues (4)

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.