Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuring security.yaml #209

Open
cjedmond-interfaces opened this issue Jan 23, 2024 · 0 comments
Open

Configuring security.yaml #209

cjedmond-interfaces opened this issue Jan 23, 2024 · 0 comments

Comments

@cjedmond-interfaces
Copy link

Good morning,

I encountered quite a few problems with the plugin's operation. Particularly at the provider configuration level. I go through google as idp. Once the user enters their credentials, they are identified but are not connected.

Instead of entering this:
providers:
saml_provider:
# Basic provider instantiates a user with default roles
saml:
user_class: 'AppBundle\Entity\User'
default_roles: ['ROLE_USER']

I had to put instead:
providers:
saml_provider:
entity:
class: App\Entity\User
property: email

So I was able to be authenticated and connected to my application (ip)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant