You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-11Lines changed: 8 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,20 +36,17 @@ You can now run the web app sample which depends on this code:
36
36
What needs to be configured
37
37
----------------------------
38
38
39
-
In the example above, SAML settings are divided into two parts, the application specific (const_assertion_consumer_service_url, const_issuer, const_name_identifier_format)
40
-
and the user/account specific (idp_sso_target_url, x509certificate). You'll need to add your own code here to identify the user or user origin (e.g. by subdomain, ip_address etc.).
39
+
In the example above, SAML settings are divided into two parts, the application specific (`const_assertion_consumer_service_url`, `const_issuer`, `const_name_identifier_format`)
40
+
and the user/account specific (`idp_sso_target_url`, `x509certificate`). You'll need to add your own code here to identify the user or user origin (e.g. by subdomain, ip_address etc.).
41
41
42
42
The following information needs to be available on the account:
43
43
44
-
appSettings.setAssertionConsumerServiceUrl
45
-
The URL at which the SAML assertion should be received. In this example "http://localhost:3000/saml/consume" would be correct.
44
+
`appSettings.setAssertionConsumerServiceUrl`: The URL at which the SAML assertion should be received.
46
45
47
-
appSettings.setIssuer
48
-
The name of your application. Some identity providers might need this to establish the identity of the service provider requesting the login.
46
+
`appSettings.setIssuer`: The name of your application. Some identity providers might need this to establish the identity of the service provider requesting the login.
49
47
50
-
accSettings.setIdpSsoTargetUrl
51
-
The URL to which the authentication request should be sent. This would be on the identity provider.
48
+
`accSettings.setIdpSsoTargetUrl`: The URL to which the authentication request should be sent. This would be on the identity provider.
52
49
53
-
accountSettings.setCertificate
54
-
The x509 certificate fingerprint.
55
-
This is provided from the identity provider when setting up the relationship, for this version the certificate must be 1024-bit.
50
+
`accountSettings.setCertificate`: The x509 certificate fingerprint. This is provided from the identity provider when setting up the relationship, for this version the certificate must be 1024-bit.
51
+
52
+
In OneLogin, for this sample project, you'll want to set the SAML Consumer URL to "http://localhost:8080" and the SAML Audience and SAML Recipient to "http://localhost:8080/consume.jsp"
0 commit comments