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

Rebase: Expose the request context in the FPM layer via a global variable #542

Merged
merged 3 commits into from
Jan 28, 2020

Conversation

Nyholm
Copy link
Contributor

@Nyholm Nyholm commented Jan 26, 2020

Rebased #501, used JSON instead of adding many global variables.

It is not possible to add an array, because it needs to be serialised and sent to PHP FPM.

This will fix #506 and fix #500

pl4yradam and others added 2 commits January 26, 2020 14:06
This request context is needed if a user is using the authentication type of IAM_ROLE, when a user auths through Api Gateway it will then authorise the user and pass their information (securely as request context). At the moment the file misses this so a php function cant use the authorised details correctly.
@mnapoli
Copy link
Member

mnapoli commented Jan 28, 2020

Thanks!

I'll add documentation after the merge.

@Nyholm
Copy link
Contributor Author

Nyholm commented Jan 28, 2020

Thank you for merging

@Nyholm Nyholm deleted the pr-501 branch January 28, 2020 10:59
mnapoli added a commit that referenced this pull request Feb 14, 2023
Rebase: Expose the request context in the FPM layer via a global variable
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.

Web application does not get event or context info Get the request context in PHP when using the FPM layer
3 participants