guess-js / guess-js/guess-js.github.io

Document how to use JWT instead of OAuth

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Often folks want to run Guess.js inside CI where the only way to authenticate is using an authentication token. Although this behavior is supported, it's not well documented.

To authenticate with a JWT, first one should [generate a token](http://2ality.com/2015/10/google-analytics-api.html) and after that provide it to the `GuessPlugin` [configuration object](https://github.com/guess-js/guess/blob/master/packages/guess-webpack/src/guess-webpack.ts#L17).

Consider writing a guide on building app with the `GuessPlugin` in CI or simply, a guide on how to authenticate with a token.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.