Skip to content

Move the apply filter for jwt_auth_valid_credential_response#137

Open
chrisladams wants to merge 1 commit into
usefulteam:masterfrom
chrisladams:feature/get_token_rsp_filter_move
Open

Move the apply filter for jwt_auth_valid_credential_response#137
chrisladams wants to merge 1 commit into
usefulteam:masterfrom
chrisladams:feature/get_token_rsp_filter_move

Conversation

@chrisladams

Copy link
Copy Markdown

I moved the apply_filters( 'jwt_auth_valid_credential_response') to below the refresh token generation so a user can append the json output with relevant data.

…er refesh token is generated so a user can add it to the json response
@sun

sun commented Jun 25, 2025

Copy link
Copy Markdown
Collaborator

Hey, thanks for contributing your improvement!

I'm concerned that this changes what is contained in the value that is passed to the filter hook callbacks. This would break existing sites that are using the filter already?

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.

2 participants