Skip to content

Commit

Permalink
Fixed issues with being able to use saml login
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhartless committed Aug 1, 2016
1 parent 1009b7b commit f39be7b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/bundles/UserBundle/Entity/IdEntry.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Mautic\UserBundle\Entity;

use Doctrine\ORM\Mapping as ORM;
use Mautic\CoreBundle\Doctrine\Mapping\ClassMetadataBuilder;

/**
* @ORM\Entity()
Expand Down
12 changes: 11 additions & 1 deletion app/config/security.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,18 @@
'mautic_plugin_auth' => true,
'stateless' => true
),
'saml_login' => array(
'pattern' => '^/saml/login$',
'anonymous' => true,
'context' => 'mautic'
),
'saml_discovery' => array(
'pattern' => '^/saml/discovery$',
'anonymous' => true,
'context' => 'mautic'
),
'saml' => array(
'pattern' => "^/saml/",
'pattern' => '^/saml/',
'light_saml_sp' => array(
'user_creator' => 'mautic.security.saml.user_creator',
'login_path' => '/saml/login',
Expand Down

0 comments on commit f39be7b

Please sign in to comment.