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

Laravel config options should be mentioned #15

Open
Quezler opened this issue Apr 22, 2017 · 0 comments
Open

Laravel config options should be mentioned #15

Quezler opened this issue Apr 22, 2017 · 0 comments

Comments

@Quezler
Copy link

Quezler commented Apr 22, 2017

I spent 2 hours trying to get it to work on laravel.
(yes, i did enable the logging mentioned in Debugging your server-side integration with Pusher)

All it said was about a bad auth key.

Eventually i figured out i had to include the cluster, which is not mentioned anywhere in this guide (afaik)

Also i feel like the encryption should be on by default, i see no reason why this is not the default.

Recommendation

something along the lines of this:
(e.g. inside 2.4 'Using a Laravel Pusher Bridge')

        'main' => [
            'auth_key' => env('PUSHER_KEY'),
            'secret' => env('PUSHER_SECRET'),
            'app_id' => env('PUSHER_APP_ID'),
            'options' => [
                'encrypted' => true,
                'cluster:' => 'eu',
            ],
            'host' => 'api-eu.pusher.com',
            'port' => null,
            'timeout' => null,
        ],
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