Skip to content

gilzow/wp-graphql-jwt-authentication-wp-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

wp-graphql-jwt-authentication-wp-cli

wp-cli command for retrieving auth and refresh tokens from wpGrapQL

Requires

The following plugins must be installed and active in order for this wp-cli command to work,

Installation

# Installing the package using an HTTPS link
$ wp package install https://github.com/gilzow/wp-graphql-jwt-authentication-wp-cli.git

# Installing the package using an SSH link
$ wp package install git@github.com:gilzow/wp-graphql-jwt-authentication-wp-cli.git

Usage

# See all options and parameters
$ wp help graphql_auth get-graphql-token

# Get a refreshToken and return only the token value
$ wp graphql_auth get-graphql-token admin password123 --porcelain

# Supports the alias `token` and output of json format
$ wp graphql_auth token admin password123 --return=authToken --format=json

About

wp-cli command for retrieving auth and refresh tokens from wpGrapQL

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages