insomnia/packages/insomnia-smoke-test/fixtures/oauth.yaml
Jack Kavanagh 8585eea9e6
electron v15 pre-upgrade refactoring (#4524)
* now with 100% fat free cancellation

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* unblock electron 15

* fix cookielist and temp fix curl types

* fix types

* fix inso

* default to verbose inso test

* implement readdata function

* fix test

* revert test changes

* isomorphic cancel

* reduce typing issues

* curl types

* turns out the tests were wrong

* handle errors

* remove unused inso mock

* remove request delay

* fix lint and add logs

* Revert "remove request delay"

This reverts commit f07d8c90a7a7279ca10f8a8de1ea0c82caa06390.

* simplify and add cancel fallback

* skip cancel test

* playwright is fast and insomnia is slow

* trailing spaces are serious yo

* cancel is flake town

* hmm

* unblock nunjucks and storeTimeline

* fix nunjucks tests

* preload writeFile

* oops forgot to remove the reload

* debugging CI takes all day, log stuff and pray

* also warn if nunjucks is being lame

* Stop using environment variables

* revert debugging logs

Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: David Marby <david@dmarby.se>
2022-03-03 13:42:04 +00:00

307 lines
8.8 KiB
YAML

_type: export
__export_format: 4
__export_date: 2022-02-24T01:02:16.537Z
__export_source: insomnia.desktop.app:v2022.1.0-beta.0
resources:
- _id: req_54f2824040c847ebaf3ed6d080111b4e
parentId: fld_0e50ba4426bb4540ade91e0525ea1f29
modified: 1645664215605
created: 1645544268127
url: "http://127.0.0.1:4010/oidc/me"
name: No PKCE
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
accessTokenUrl: "http://127.0.0.1:4010/oidc/token"
authorizationUrl: "http://127.0.0.1:4010/oidc/auth"
clientId: "authorization_code"
clientSecret: "secret"
disabled: false
grantType: authorization_code
redirectUrl: "http://127.0.0.1:4010/callback"
responseType: id_token
scope: openid offline_access
state: ""
type: oauth2
usePkce: false
credentialsInBody: "false"
tokenPrefix: ""
metaSortKey: -1000000237.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_0e50ba4426bb4540ade91e0525ea1f29
parentId: wrk_392055e2aa29457b9d2904396cd7631f
modified: 1645545086145
created: 1645545086145
name: Authorization Code
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1645545086145
_type: request_group
- _id: wrk_392055e2aa29457b9d2904396cd7631f
parentId: null
modified: 1645220798234
created: 1645220798234
name: OAuth Testing
description: ""
scope: collection
_type: workspace
- _id: req_b728f4cbb8694a0d96ecf4753f621964
parentId: fld_0e50ba4426bb4540ade91e0525ea1f29
modified: 1645664217727
created: 1645220819802
url: "http://127.0.0.1:4010/oidc/me"
name: PKCE SHA256
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
accessTokenUrl: "http://127.0.0.1:4010/oidc/token"
authorizationUrl: "http://127.0.0.1:4010/oidc/auth"
clientId: "authorization_code_pkce"
clientSecret: "secret"
disabled: false
grantType: authorization_code
redirectUrl: "http://127.0.0.1:4010/callback"
responseType: id_token
scope: openid offline_access
state: ""
type: oauth2
usePkce: true
metaSortKey: -1000000187.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_fe74f7e6d028450ca347e3c07cf79c75
parentId: fld_0e50ba4426bb4540ade91e0525ea1f29
modified: 1645664218264
created: 1645543526615
url: "http://127.0.0.1:4010/oidc/me"
name: PKCE Plain
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
accessTokenUrl: "http://127.0.0.1:4010/oidc/token"
authorizationUrl: "http://127.0.0.1:4010/oidc/auth"
clientId: "authorization_code_pkce"
clientSecret: "secret"
disabled: false
grantType: authorization_code
redirectUrl: "http://127.0.0.1:4010/callback"
responseType: id_token
scope: openid offline_access
state: ""
type: oauth2
usePkce: true
pkceMethod: plain
credentialsInBody: "false"
metaSortKey: -1000000137.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_a6563c5d82e644bda38083717cf0c2c5
parentId: fld_d34790add1584643b6688c3add5bbe85
modified: 1645664218947
created: 1645545802379
url: "http://127.0.0.1:4010/oidc/id-token"
name: ID Token
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
accessTokenUrl: "http://127.0.0.1:4010/oidc/token"
authorizationUrl: "http://127.0.0.1:4010/oidc/auth"
clientId: "implicit"
clientSecret: "secret"
disabled: false
grantType: implicit
redirectUrl: "http://127.0.0.1:4010/callback"
responseType: id_token
scope: openid
state: ""
type: oauth2
usePkce: false
credentialsInBody: "false"
tokenPrefix: ""
metaSortKey: -1000000237.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: fld_d34790add1584643b6688c3add5bbe85
parentId: wrk_392055e2aa29457b9d2904396cd7631f
modified: 1645545802354
created: 1645545802354
name: Implicit
description: ""
environment: {}
environmentPropertyOrder: null
metaSortKey: -1644942229994
_type: request_group
- _id: req_1ba50492c71445e398f63a7f00aee9fd
parentId: fld_d34790add1584643b6688c3add5bbe85
modified: 1645664219446
created: 1645567186775
url: "http://127.0.0.1:4010/oidc/me"
name: ID and Access Token
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
accessTokenUrl: "http://127.0.0.1:4010/oidc/token"
authorizationUrl: "http://127.0.0.1:4010/oidc/auth"
clientId: "implicit"
clientSecret: "secret"
disabled: false
grantType: implicit
redirectUrl: "http://127.0.0.1:4010/callback"
responseType: id_token token
scope: openid
state: ""
type: oauth2
usePkce: false
credentialsInBody: "false"
tokenPrefix: ""
metaSortKey: -1000000212.5
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_2b14ff638149403bb1f5ea77a4e9427f
parentId: wrk_392055e2aa29457b9d2904396cd7631f
modified: 1645664219861
created: 1645637343873
url: "http://127.0.0.1:4010/oidc/client-credential"
name: Client Credentials
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
accessTokenUrl: "http://127.0.0.1:4010/oidc/token"
authorizationUrl: "http://127.0.0.1:4010/oidc/auth"
clientId: "client_credentials"
clientSecret: "secret"
disabled: false
grantType: client_credentials
redirectUrl: "http://127.0.0.1:4010/callback"
responseType: id_token
scope: openid
state: ""
type: oauth2
usePkce: false
credentialsInBody: "false"
tokenPrefix: ""
username: foo
password: bar
metaSortKey: -1644716158937.375
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: req_cf8a55d9b4144632a5528a5147a24540
parentId: wrk_392055e2aa29457b9d2904396cd7631f
modified: 1645664220407
created: 1645636233910
url: "http://127.0.0.1:4010/oidc/me"
name: Resource Owner Password Credentials
description: ""
method: GET
body: {}
parameters: []
headers: []
authentication:
accessTokenUrl: "http://127.0.0.1:4010/oidc/token"
authorizationUrl: "http://127.0.0.1:4010/oidc/auth"
clientId: "resource_owner"
clientSecret: "secret"
disabled: false
grantType: password
redirectUrl: "http://127.0.0.1:4010/callback"
responseType: id_token
scope: openid
state: ""
type: oauth2
usePkce: false
credentialsInBody: "false"
tokenPrefix: ""
username: foo
password: bar
metaSortKey: -1644603123409.0625
isPrivate: false
settingStoreCookies: true
settingSendCookies: true
settingDisableRenderRequestBody: false
settingEncodeUrl: true
settingRebuildPath: true
settingFollowRedirects: global
_type: request
- _id: env_aaaa7f21b1f145528b6b5f4518afc3f7
parentId: wrk_392055e2aa29457b9d2904396cd7631f
modified: 1645661876119
created: 1645220798237
name: Base Environment
data: {}
dataPropertyOrder: null
color: null
isPrivate: false
metaSortKey: 1639556944617
_type: environment
- _id: jar_b77a8c522418461e85eed9e37c9a6232
parentId: wrk_392055e2aa29457b9d2904396cd7631f
modified: 1645220798245
created: 1645220798245
name: Default Jar
cookies: []
_type: cookie_jar
- _id: spc_e72f1a13dbe9464c993b2f9c0fa0782d
parentId: wrk_392055e2aa29457b9d2904396cd7631f
modified: 1645220798327
created: 1645220798253
fileName: OAuth Testing
contents: ""
contentType: yaml
_type: api_spec