Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Bundles Cms Laravel Package

kunstmaan/bundles-cms

Kunstmaan CMS is a full-featured, multilingual CMS built on the Symfony full-stack framework. It offers page and form assembly, versioning, workflow, translation tools, and media management, plus integrations with community bundles.

View on GitHub
Deep Wiki
Context7

Enabling google authentication login

Enabling google authentication will give your users the chance to authenticate themselves within the CMS using their gmail accounts. Their access level will be determined based on the domain of their gmail account and your configuration.

1) Add the necessary settings to your app/config/config.yml

You will need to have a google application with the necessary credentials. You can configure as many hosted domains as you would like. For each domain name you can specify an array of access levels, these will be granted to the user upon first login.

    kunstmaan_admin:
        google_signin:
        ¦   enabled: true
        ¦   client_id:  some_client_id.apps.googleusercontent
        ¦   client_secret: some_secret
        ¦   hosted_domains:
        ¦   ¦   - { domain_name: kunstmaan.be, access_levels: ['Super administrators'] }
                - { domain_name: mydomain.example, access_levels: ['Guests'] }

2) Configure the guard component in your app/config/security.yml

security:
    ...
    firewalls:
        main:
            pattern: .*
            guard:
                authenticators:
                    - kunstmaan_admin.oauth_authenticator
            form_login:
                login_path: kunstmaan_admin_login
                check_path: kunstmaan_admin_login
                provider: cms_users
            ...

And that's it! An extra button should now have appeared on your login screen. If you have properly configured your hosted domains you should be able to login using your gmail account.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
directorytree/privacy-filter-classifier
directorytree/privacy-filter
babenkoivan/elastic-client
innmind/static-analysis
innmind/coding-standard
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit