Skip to content
New issue

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

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

Already on GitHub? # to your account

Fixed #1730 (reintroduced in 4.x) #3139

Merged
merged 2 commits into from
Jan 13, 2022
Merged

Fixed #1730 (reintroduced in 4.x) #3139

merged 2 commits into from
Jan 13, 2022

Conversation

adoy
Copy link
Contributor

@adoy adoy commented Jan 10, 2022

No description provided.

@l0gicgate l0gicgate added this to the 4.10.0 milestone Jan 10, 2022
@Midel3
Copy link

Midel3 commented Jan 12, 2022

This should also resolve this issue: bshaffer/oauth2-server-php#254

PHP tends to overwrite the status code to 401 whenever a WWW-Authenticate header is present, while 400, 403 and 405 are allowed according to RFC6750

@odan
Copy link
Contributor

odan commented Jan 12, 2022

It looks good to me. This is also how it is done in Laminas, see SapiEmitter.

@coveralls
Copy link

coveralls commented Jan 13, 2022

Coverage Status

Coverage remained the same at 100.0% when pulling 85cf515 on adoy:fix-1739 into 2b74627 on slimphp:4.x.

@l0gicgate l0gicgate merged commit 6aa522d into slimphp:4.x Jan 13, 2022
@adoy adoy deleted the fix-1739 branch January 14, 2022 05:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants