Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenID Connect #114

Open
wants to merge 59 commits into
base: v2.x
Choose a base branch
from
Open

OpenID Connect #114

wants to merge 59 commits into from

Conversation

MichaelKubovic
Copy link

Thanks to @ajgarlag we have a working, OIDC-compliant integration.

The code in this PR covers:

  • steverhoades/oauth2-openid-connect-server integration
  • adds support for nonce to comply with spec (RP CAN use nonce, but when they do, we cannot drop it)
  • default authentication-enforcing and authorization implementations

ajgarlag and others added 30 commits January 20, 2019 19:09
An event listener shoud allow or deny the authorization request, or provide
an URI where the user will be redirected to view the authorization interface
This Uri can represent any URI, not only the decision (consent) uri.
# Conflicts:
#	DependencyInjection/TrikoderOAuth2Extension.php
#	Event/Listener/AuthorizationRequestUserResolvingListener.php
#	Resources/config/services.xml
Classes under the `Trikoder\Bundle\OAuth2Bundle\League` remain named as
AuthCode to reflect the naming choosen by the league/oauth2-server project.
…to feature/authorization_code

# Conflicts:
#	Controller/AuthorizationController.php
#	Event/AuthorizationRequestResolveEvent.php
#	Resources/config/services.xml
MichaelKubovic and others added 14 commits May 9, 2019 12:12
# Conflicts:
#	DependencyInjection/TrikoderOAuth2Extension.php
#	Resources/config/services.xml
#	Tests/Acceptance/AbstractAcceptanceTest.php
#	Tests/Acceptance/TokenEndpointTest.php
#	Tests/Fixtures/FixtureFactory.php
#	Tests/Integration/AbstractIntegrationTest.php
#	composer.json
# Conflicts:
#	DependencyInjection/Configuration.php
# Conflicts:
#	Controller/AuthorizationController.php
#	DependencyInjection/Configuration.php
#	DependencyInjection/TrikoderOAuth2Extension.php
#	Event/AuthorizationRequestResolveEvent.php
#	League/Entity/AuthCode.php
#	League/Repository/AuthCodeRepository.php
#	Manager/AuthorizationCodeManagerInterface.php
#	Manager/Doctrine/AuthorizationCodeManager.php
#	Manager/InMemory/AuthorizationCodeManager.php
#	Model/AuthorizationCode.php
#	OAuth2Events.php
#	OAuth2Grants.php
#	Resources/config/doctrine/model/AuthorizationCode.orm.xml
#	Resources/config/services.xml
#	Tests/Acceptance/AuthorizationEndpointTest.php
#	Tests/Acceptance/TokenEndpointTest.php
#	Tests/Fixtures/FixtureFactory.php
#	Tests/Integration/AbstractIntegrationTest.php
#	Tests/Integration/AuthorizationServerTest.php
#	Tests/TestHelper.php
#	composer.json
# Conflicts:
#	DependencyInjection/TrikoderOAuth2Extension.php
#	Resources/config/routes.xml
#	Resources/config/services.xml
#	composer.json
@ajgarlag
Copy link
Contributor

ajgarlag commented Nov 7, 2019

@MichaelKubovic, thanks for your mention.

As the original author of the implementation, I discarded the idea to submit it as a PR because I think it is out of the scope of this bundle. But is up to the @trikoder team to decide about it.

Currently I'm implementing the OIDC support as a different bundle that leverages this one to provide the oAuth2 server implementation.

If this PR is discarded, I could publish my current draft implementation, so you can collaborate if you want.

@spideyfusion
Copy link
Contributor

@MichaelKubovic @ajgarlag Thank you for your continued involvement with bundle's development. We'll review this PR soon. 👍

@jankulovski
Copy link

Any updates on this?

@Tayfun74
Copy link

Any updates?

@alenpokos
Copy link

@jankulovski @Tayfun74 Sorry for no response. It is holiday season here and the team is a bit more in vacation mode. We should be back in full number in the next week and I am sure @spideyfusion will also find the time to provide feedback on this PR.

@spideyfusion spideyfusion self-assigned this Jan 17, 2020
@Tayfun74
Copy link

Tayfun74 commented Mar 4, 2020

@spideyfusion When do you have time to provide feedback?

@spideyfusion spideyfusion linked an issue Apr 20, 2020 that may be closed by this pull request
@Tayfun74
Copy link

Any updates on this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for OpenId Connect
8 participants