The GitHubLogin component displays a button that allows users to log in and out of GitHub. When mounted, this component requests the store move to the next step of the login-code-token OAuth exchange chain.
Data
| Name | Type | Default value | Description |
|---|---|---|---|
checkingToken |
Boolean | false |
Whether the app is checking a GitHub token. |
invalidLogin |
Boolean | false |
Whether the login attempt is invalid. |
response |
String | "" |
Currently unused. |
Methods
-
loginRequest()
-
Redirect a user to GitHub to attempt a login.