@toa.io/extensions.exposition 1.0.0-alpha.100 → 1.0.0-alpha.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,12 +42,26 @@ operations:
42
42
  authority*: string
43
43
  credentials*: string
44
44
  output:
45
- identity:
46
- id: string
47
- claims:
48
- iss: string
49
- aud: string
50
- sub: string
45
+ properties:
46
+ identity:
47
+ properties:
48
+ id:
49
+ type: string
50
+ claims:
51
+ properties:
52
+ iss:
53
+ type: string
54
+ aud:
55
+ type: string
56
+ sub:
57
+ type: string
58
+ additionalProperties: true
59
+ required:
60
+ - iss
61
+ - sub
62
+ required:
63
+ - id
64
+ - claims
51
65
  errors:
52
66
  - ERR_NOT_FOUND
53
67
 
@@ -9,6 +9,7 @@ Feature: Federated identity authentication
9
9
  """yaml
10
10
  trust:
11
11
  - iss: http://localhost:44444
12
+ implicit: true
12
13
  """
13
14
 
14
15
  Scenario: Full claim
@@ -117,7 +117,7 @@ Feature: Basic authentication
117
117
  """
118
118
  Then the following reply is sent:
119
119
  """
120
- 409 Conflict
120
+ 403 Forbidden
121
121
  """
122
122
 
123
123
  Scenario: Changing the password
@@ -360,7 +360,7 @@ Feature: Basic authentication
360
360
  """
361
361
  Then the following reply is sent:
362
362
  """
363
- 409 Conflict
363
+ 403 Forbidden
364
364
  """
365
365
 
366
366
  Scenario: Incorrect credentials format
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toa.io/extensions.exposition",
3
- "version": "1.0.0-alpha.100",
3
+ "version": "1.0.0-alpha.101",
4
4
  "description": "Toa Exposition",
5
5
  "author": "temich <tema.gurtovoy@gmail.com>",
6
6
  "homepage": "https://github.com/toa-io/toa#readme",
@@ -58,5 +58,5 @@
58
58
  "@types/negotiator": "0.6.1",
59
59
  "jest-esbuild": "0.3.0"
60
60
  },
61
- "gitHead": "b3f19f25d196753c111624c9226219d1bbe5f3a8"
61
+ "gitHead": "19a5855caa247439f17960dfdc25053b5eca6395"
62
62
  }