Skip to content

Instantly share code, notes, and snippets.

View craigmit's full-sized avatar

Craig Mitchell craigmit

View GitHub Profile
@craigmit
craigmit / graphiqlSetAuth.html
Created February 19, 2021 01:15
GraphiQL that sets the Authorization from a # parameter
<!DOCTYPE html>
<!--
Example usage is: graphiqlSetAuth.html#[JWT_TOKEN]
The JWT TOKEN with then automatically be set in the header, and removed from the URL.
-->
<html lang="en">
<head>
@craigmit
craigmit / index.html
Created February 18, 2021 00:42
GraphiQL with JWT
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="robots" content="noindex"/>
<meta name="referrer" content="origin"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>GraphiQL With JWT</title>
<style>
html, body {