Giter Site home page Giter Site logo

openidconnectrelyingpartybundle's People

Contributors

waldo2188 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

openidconnectrelyingpartybundle's Issues

ServiceNotFoundException: dependency on a non-existent service "security.context".

Hi

I have created a brand new symfony (3.3.4) project and started to copy-paste from your installation guide.

everything was fine, until configuring the security.yml

Once done, I get the following error message :
The service "security.firewall.map.context.secured_area" has a dependency on a non-existent service "security.context".

in CheckExceptionOnInvalidReferenceBehaviorPass.php (line 31)

any idea ?

[sf2.3] ServiceNotFoundException

Hi,

Your bundle uses an non existent service in Symfony 2.3. The stack error looks like this:

[Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException]                              
The service "waldo_oic_rp.logout" has a dependency on a non-existent service "security.token_storage".

It seems that "security.token_storage" service comes from the Symfony 2.6 security improvements. I think the require symfony version should be update to >= 2.6 in composer.json file.

JWK validation fails if "use" is not present in key

If the jwk returned from open id server contains no "use" property, signature validation fails with InvalidIdSignatureException.

Seems to be due to OICResponseHandler::verifySignedJwt():
$key = $jwkSet->filterJwk("use", \JOSE_JWK::JWK_USE_SIG);

That's the JWKSet I had:

JOSE_JWKSet Object
(
[keys] => Array
(
[0] => JOSE_JWK Object
(
[components] => Array
(
[alg] => RS256
[e] => AQAB
[n] => 23zs5 ... 1pB-CP0
[kty] => RSA
[kid] => rsa1
)
)
)
)

As far as I understand, the "use" part is optional.

gree/jose

It needs "gree/jose": "0.2" in require

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.