@boxyhq/saml-jackson 0.1.5-beta.123 → 0.1.5-beta.124

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.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -199,11 +199,11 @@ The code can then be exchanged for a token by making the following request:
199
199
  curl --request POST \
200
200
  --url 'http://localhost:5000/oauth/token' \
201
201
  --header 'content-type: application/x-www-form-urlencoded' \
202
- --data grant_type=authorization_code \
202
+ --data 'grant_type=authorization_code' \
203
203
  --data 'client_id=<clientID or tenant and product query params as described in the SAML config API section above>' \
204
- --data client_secret=<clientSecret or any arbitrary value if using the tenant and product in the clientID> \
204
+ --data 'client_secret=<clientSecret or any arbitrary value if using the tenant and product in the clientID>' \
205
205
  --data 'redirect_uri=<redirect URL>' \
206
- --data code=<code from the query parameter above>
206
+ --data 'code=<code from the query parameter above>'
207
207
  ```
208
208
 
209
209
  - grant_type=authorization_code: This is the only supported flow, for now. We might extend this in the future
@@ -236,15 +236,15 @@ If everything goes well you should receive a JSON response with the user's profi
236
236
 
237
237
  ```
238
238
  {
239
+ "id": <id from the Identity Provider>,
239
240
  "email": "sjackson@coolstartup.com",
240
241
  "firstName": "SAML"
241
- "id": <id from the Identity Provider>,
242
- "lastName": "Jackson",
242
+ "lastName": "Jackson"
243
243
  }
244
244
  ```
245
245
 
246
- - email: The email address of the user as provided by the Identity Provider
247
246
  - id: The id of the user as provided by the Identity Provider
247
+ - email: The email address of the user as provided by the Identity Provider
248
248
  - firstName: The first name of the user as provided by the Identity Provider
249
249
  - lastName: The last name of the user as provided by the Identity Provider
250
250
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boxyhq/saml-jackson",
3
- "version": "0.1.5-beta.123",
3
+ "version": "0.1.5-beta.124",
4
4
  "license": "Apache 2.0",
5
5
  "description": "SAML 2.0 service",
6
6
  "main": "src/index.js",