Social How-To


{info} This section assumes you have set up your providers as detailed in providers.

In order to have a user authenticate against one of your drivers, all you need to do is a link similar to the example below.

    <a href="{ { route('', ['google']) }}">Log in with Google</a>
    <a href="{ { route('', ['github']) }}">Log in with Github</a>

The route name will never change, just replace the string in the array with your provider as detailed in config/jumpgate/users.php. This will automatically send them off to be authenticated.

{info} If you only have 1 provider you can leave the provider out of the route. The package will assign the only one available by default.