Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bridgev2/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ type LoginCookiesParams struct {
// even if this URL is not reached, but it should only automatically close the webview after
// both cookies and the URL match.
WaitForURLPattern string `json:"wait_for_url_pattern,omitempty"`
// If set, the client should load the URL and run ExtractJS in a webview that is not shown to the
// user.
Hidden bool `json:"hidden,omitempty"`
}

type LoginInputFieldType string
Expand Down
3 changes: 3 additions & 0 deletions bridgev2/matrix/provisioning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,9 @@ components:
A JavaScript snippet that can extract some or all of the fields.
The snippet will evaluate to a promise that resolves when the relevant fields are found.
Fields that are not present in the promise result must be extracted another way.
hidden:
type: boolean
description: If set, the client should load the URL and run `extract_js` in a webview that is not shown to the user.
fields:
type: array
description: The list of cookies or other stored data that must be extracted.
Expand Down
Loading