{"repo":"wp-graphql/wp-graphql-jwt-authentication","free":true,"listed":false,"github":"https://github.com/wp-graphql/wp-graphql-jwt-authentication","clone":"git clone https://github.com/wp-graphql/wp-graphql-jwt-authentication.git","description":"Authentication for WPGraphQL using JWT (JSON Web Tokens)","language":"PHP","stars":363,"topics":["graphql","jwt","auth","wordpress-plugin","wpgraphql","hacktoberfest"],"license":"GPL-3.0","category":"auth-billing-email","readme_excerpt":"WPGraphQL JWT Authentication This plugin extends the WPGraphQL plugin to provide authentication using JWT (JSON Web Tokens) JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties. This plugin was initially based off the wp-api-jwt-auth plugin by Enrique Chavez (https://github.com/Tmeister), but modified (almost completely) for use with the WPGraphQL plugin. Install, Activate & Setup You can install and activate the plugin like any WordPress plugin. Download the .zip from Github and add to your plugins directory, then activate. JWT uses a Secret defined on the server to validate the signing of tokens. It's recommended that you use something like the WordPress Salt generator (https://api.wordpress.org/secret-key/1.1/salt/) to generate a Secret. You can define a Secret like so: Or you can use the filter graphql jwt auth secret key to set a Secret like so: This secret is used in the encoding and decoding of the JWT token. If the Secret were ever changed on the server, ALL tokens that were generated with the previous Secret would become invalid. So, if you wanted to invalidate all user tokens, you can change the Secret on the server and all previously issued tokens would become invalid and require users to re-authenticate. - Learn more about JWT: https://jwt.io/introduction/ HTTP AUTHORIZATION In order to use this plugin, your WordPress environment must support the HTTP AUTHORIZATION header. In some cases, this header is","default_branch":null,"files":null,"tree":[],"storefront":"/r/wp-graphql","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wp-graphql/wp-graphql-jwt-authentication/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}