-
Notifications
You must be signed in to change notification settings - Fork 16
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
Support for Yith plugins #44
Comments
Hello @Evaske! AFAIK private-composer-installer does not support sending cookies. |
It seems Composer supports extra HTTP headers for repositories only. |
Take a peak into Yithemes' own updater. Maybe your URL is in there! You can read those keys from WP with WP-CLI and export them as shell variables. |
I didn't even think of looking in their upgrade script! I'll have a play and see if I can get hold of a working URL. |
You can do these before running export PLUGIN_YITH_SECRET_KEY="$(wp eval 'echo get_option("yit_products_licence_activation")["secret_key"];')"
export PLUGIN_YITH... ...it turns out this 👆 is technically incorrect but shows how to proceed. |
As @szepeviktor already mentioned, this package does currently not support
Things along these lines are already being discussed in #22. |
Hi,
I am trying to install some Yith theme plugins and running in to an issue with auth. I can see from logging in to their site that a cookie is required for the auth and so I have tried setting that as per the composer manual but I still keep getting asked for auth details. I have confirmed the cookie works by using Postman to make a test request so I can only assume the custom header isn't getting set?
I have tried moving that options block in to various places in case I had it in the wrong one but that hasn't made any difference. Any ideas how to get that Cookie to send with the request?
The text was updated successfully, but these errors were encountered: