Skip to content

feat: replace file_get_contents with wp_remote_get in JWKS fetch for better hosting compatibility#1

Open
meehow-m wants to merge 1 commit intosmartcloudsol:masterfrom
meehow-m:fix/wp-remote-get-support
Open

feat: replace file_get_contents with wp_remote_get in JWKS fetch for better hosting compatibility#1
meehow-m wants to merge 1 commit intosmartcloudsol:masterfrom
meehow-m:fix/wp-remote-get-support

Conversation

@meehow-m
Copy link
Copy Markdown

Description ideas:

  • Fixes fatal errors on hosts where allow_url_fopen=0 (very common on shared hosting).
  • Uses WordPress core HTTP API for maximum reliability and security.
  • Improves error messages and adds proper HTTP status checking.
  • Maintains existing caching behavior.

@scsinfo
Copy link
Copy Markdown
Member

scsinfo commented Apr 17, 2026

Thanks, I'll check it next week

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