Simple reasonml authentication for graphql endpoints


I just picked up reasonml again after a long hiatus and started tinkering with Github’s graphql API and reason-apollo. I know if I call the graphql endpoint without a bearer token in the header I’ll get a 401 error. I was wondering if there’s simple implementations of authentication using bearer token against a graphql API endpoint?