Merge pull request #24 from Harry97/develop

Remove error producing parts in README.md file
This commit is contained in:
Steffo Weber 2018-02-12 15:50:57 +01:00 committed by GitHub
commit d6d62d25e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,7 +33,7 @@ settings = {"saml":[{
"dynamicProfile": true // set to true if we want to create a user in Meteor.users dynamically if SAML assertion is valid
"identifierFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified", // Defaults to urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
"localProfileMatchAttribute": "telephoneNumber" // CAUTION: this will be mapped to profile.<localProfileMatchAttribute> attribute in Mongo if identifierFormat (see above) differs from urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress,
"attributesSAML": {[telephoneNumber, sn, givenName, mail]}, // attrs from SAML attr statement, which will be used for local Meteor profile creation. Currently no real attribute mapping. If required use mapping on IdP side.
"attributesSAML": [telephoneNumber, sn, givenName, mail], // attrs from SAML attr statement, which will be used for local Meteor profile creation. Currently no real attribute mapping. If required use mapping on IdP side.
}]}
@ -49,13 +49,13 @@ in some template
in helper function
```
'click .saml-login': function(event, template){
'click .saml-login' (event) {
event.preventDefault();
var provider = $(event.target).data('provider');
var provider = event.target.getAttribute('data-provider');
Meteor.loginWithSaml({
provider:provider
}, function(error, result){
//handle errors and result
provider
}, function(error, result) {
//handle errors and result
});
}
```