Skip to content

Feature request: generation of refreshToken via wpcli #162

@gilzow

Description

@gilzow

I have a system that brings up a clone of my WordPress instance (running wpgraphql and this plugin) in a dev environment, alongside a development instance of my nextjs app. Because of the timing, I need to generate the refreshToken before the wp server is available publicly (I need to write the token value to the .env file being injected into the nextjs container). It would be exceptionally handy to have a wp-cli command for generating the token so I could attach it to the pre-deploy hook.

I've written the code to do so as a separate plugin, but am wondering if you'd be interested in a PR to add it officially?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions