mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 17:53:28 +00:00
Add 'type' field to github auth request.
This commit is contained in:
parent
2a690ef271
commit
5a3c8527d3
|
@ -282,6 +282,8 @@ func (i *ExternalIdentity) Check() error {
|
|||
type GithubAuthRequest struct {
|
||||
// ConnectorID is the name of the connector to use
|
||||
ConnectorID string `json:"connector_id"`
|
||||
// Type is opaque string that helps callbacks identify the request type
|
||||
Type string `json:"type"`
|
||||
// StateToken is used to validate the request
|
||||
StateToken string `json:"state_token"`
|
||||
// CSRFToken is used to protect against CSRF attacks
|
||||
|
|
Loading…
Reference in a new issue