mirror of
https://github.com/TECHNOFAB11/jwt-authorizer.git
synced 2025-12-15 09:23:50 +01:00
test(e2e): Bruno tests
This commit is contained in:
parent
a31cde1dd3
commit
fd94b80069
11 changed files with 165 additions and 38 deletions
15
demo-server/bruno-e2e/demo-server/Discovery.bru
Normal file
15
demo-server/bruno-e2e/demo-server/Discovery.bru
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
meta {
|
||||
name: Discovery
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3001/.well-known/openid-configuration
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
}
|
||||
15
demo-server/bruno-e2e/demo-server/JWKS Endpoint.bru
Normal file
15
demo-server/bruno-e2e/demo-server/JWKS Endpoint.bru
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
meta {
|
||||
name: JWKS Endpoint
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3001/jwks
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
}
|
||||
15
demo-server/bruno-e2e/demo-server/Test Tokens.bru
Normal file
15
demo-server/bruno-e2e/demo-server/Test Tokens.bru
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
meta {
|
||||
name: Test Tokens
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: http://localhost:3001/tokens
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
assert {
|
||||
res.status: eq 200
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue