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

Add API Platform compatibility #1098

Merged
merged 1 commit into from
Dec 13, 2022

Conversation

vincentchalamon
Copy link
Contributor

No description provided.

@vincentchalamon vincentchalamon force-pushed the feat/api-platform-bridge branch 6 times, most recently from b6d41df to 0a87c57 Compare December 12, 2022 17:21
@vincentchalamon vincentchalamon marked this pull request as ready for review December 12, 2022 17:26
Copy link
Collaborator

@chalasr chalasr left a comment

Choose a reason for hiding this comment

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

Cool!

@chalasr
Copy link
Collaborator

chalasr commented Dec 13, 2022

Thank you @vincentchalamon.

@chalasr chalasr merged commit fef5eed into lexik:2.x Dec 13, 2022
@vincentchalamon vincentchalamon deleted the feat/api-platform-bridge branch December 13, 2022 18:10
chalasr added a commit that referenced this pull request Feb 8, 2023
…alanpoulain)

This PR was merged into the 2.x branch.

Discussion
----------

fix: better API Platform and json_login compatibility

After #1098.

This PR adds two new arguments for the API Platform compatibility: `username_path` and `password_path`.

Moreover, it is not necessary anymore to add `check_path` to enable the decoration of the OpenAPI factory: if API Platform is detected and if a `json_login` firewall is available, it is automatically enabled!

For complex configuration, the user can take over the configuration.

Commits
-------

f6f4f6f fix: better API Platform and json_login compatibility
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.

3 participants