Skip to content

json-login-ldap #9987

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

Merged
merged 1 commit into from
Jul 9, 2018
Merged

json-login-ldap #9987

merged 1 commit into from
Jul 9, 2018

Conversation

ronfroy
Copy link

@ronfroy ronfroy commented Jul 1, 2018

@@ -164,7 +164,7 @@ logout_on_user_change
**type**: ``boolean`` **default**: ``false``

.. versionadded:: 3.4
The ``logout_on_user_change`` option was introduced in Symfony 3.4.
The ``logout_on_user_change`` option was introduced in Symfony 3.4.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be reverted

@ronfroy
Copy link
Author

ronfroy commented Jul 1, 2018

@nicolas-grekas done

@@ -191,8 +191,8 @@ Authentication
~~~~~~~~~~~~~~

You can authenticate to an LDAP server using the LDAP variants of the
``form_login`` and ``http_basic`` authentication providers. Simply use
``form_login_ldap`` and ``http_basic_ldap``, which will attempt to
``form_login``, ``http_basic`` and ``json_login`` authentication providers. Simply use
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be reverted and back ported in 3.4

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this comment. The entire pull request should be done in 3.4 branch? Only part of the changes? If so, which ones? Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only the change on this line, adding json_login, it is a Symfony 3 feature.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HeahDude it's related to LDAP, so i think it's not related to SF3

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ldap added its own very lately. See symfony/symfony#18952

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@HeahDude
yes, but the LDAP variant of json_login does not exist on Symfony 3

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, and the change on this line has nothing to do with it :). There are two different changes in this PR, one must be back ported to previous version.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can authenticate to an LDAP server using the LDAP variants of the it has to do with it. On SF 3 there are no variant of json_login so json_login is not mention as a variant.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes you're right, sorry for the confusion.

@HeahDude HeahDude added this to the 4.2 milestone Jul 1, 2018
@HeahDude HeahDude added Security Waiting Code Merge Docs for features pending to be merged labels Jul 1, 2018
@@ -191,8 +191,8 @@ Authentication
~~~~~~~~~~~~~~

You can authenticate to an LDAP server using the LDAP variants of the
``form_login`` and ``http_basic`` authentication providers. Simply use
``form_login_ldap`` and ``http_basic_ldap``, which will attempt to
``form_login``, ``http_basic`` and ``json_login`` authentication providers. Simply use
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes you're right, sorry for the confusion.

@javiereguiluz javiereguiluz removed the Waiting Code Merge Docs for features pending to be merged label Jul 9, 2018
@javiereguiluz
Copy link
Member

@ronfroy thank you for having contributed this feature and its docs! Congrats on your first Symfony Docs contribution!

@javiereguiluz javiereguiluz merged commit de28118 into symfony:master Jul 9, 2018
javiereguiluz added a commit that referenced this pull request Jul 9, 2018
This PR was merged into the master branch.

Discussion
----------

json-login-ldap

symfony/symfony#27650

Commits
-------

de28118 json-login-ldap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants