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

Oauth Bundle Laravel Package

hwi/oauth-bundle

Symfony bundle for OAuth1.0a/OAuth2 login and user authentication. Supports Symfony 6.4–8.0 (PHP 8.3+) and integrates dozens of providers (Google, GitHub, Facebook, Apple, LinkedIn, Azure, Keycloak, etc.).

View on GitHub
Deep Wiki
Context7

Step 2x: Keycloak

First, create your client application in Keycloak, and set 'Access type' to 'confidential'. After saving your new client the secret can be found under 'Credentials'. Add these infos along with your realm name (should not be 'master') to a new package config.

Your Keycloak-URL should look like https://myfancykeycloak.example.com/auth. This is your base URL. Authorization-, token- and userinfo-URLS are derived automatically. If for some reason they do not conform with default Keycloak behavior, they can also be set manually.

# config/packages/hwi_oauth.yaml

hwi_oauth:
    resource_owners:
        keycloak:
            type:                keycloak
            base_url:            <keycloak_url>
            realm:               <realm_name>
            client_id:           <client_id>
            client_secret:       <client_secret>
            options:
                idp_hint:        <auth_hint_idp>

When you're done. Continue by configuring the security layer or go back to setup more resource owners.

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.
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle
elriseio/finance-money-bundle