@boxyhq/saml-jackson 0.1.5-beta.121 → 0.1.5-beta.122

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 +10 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -128,6 +128,16 @@ Kubernetes and docker-compose deployment files will be coming soon.
128
128
 
129
129
  Please follow the instructions [here](https://docs.google.com/document/d/1fk---Z9Ln59u-2toGKUkyO3BF6Dh3dscT2u4J2xHANE) to guide your customers in setting up SAML correctly for your product(s). You should create a copy of the doc and modify it with your custom settings, we have used the values that work for our demo apps.
130
130
 
131
+ ### 1.1 SAML profile/claims/attributes mapping
132
+ As outlined in the guide above we try and support 4 attributes in the SAML claims - `id`, `email`, `firstName`, `lastName`. This is how the common SAML aattributes map over for most providers, but some providers have custom mappings. Please refer to the documentation on Identity Provider to understand the exact mapping.
133
+
134
+ | SAML Attribute | Jackson mapping |
135
+ |----------------|-----------------|
136
+ |http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier|id|
137
+ |http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress|email|
138
+ |http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname|firstName|
139
+ |http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname|lastName|
140
+
131
141
  ### 2. SAML config API
132
142
 
133
143
  Once your customer has set up the SAML app on their Identity Provider, the Identity Provider will generate an IdP or SP metadata file. Some Identity Providers only generate an IdP metadata file but it usually works for the SP login flow as well. It is an XML file that contains various attributes Jackson needs to validate incoming SAML login requests. This step is the equivalent of setting an OAuth 2.0 app and generating a client ID and client secret that will be used in the login flow.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@boxyhq/saml-jackson",
3
- "version": "0.1.5-beta.121",
3
+ "version": "0.1.5-beta.122",
4
4
  "license": "Apache 2.0",
5
5
  "description": "SAML 2.0 service",
6
6
  "main": "src/index.js",