PLATFORM
  • Tails

    Create websites with TailwindCSS

  • Blocks

    Design blocks for your website

  • Wave

    Start building the next great SAAS

  • Pines

    Alpine & Tailwind UI Library

  • Auth

    Plug'n Play Authentication for Laravel

  • Designer comingsoon

    Create website designs with AI

  • DevBlog comingsoon

    Blog platform for developers

  • Static

    Build a simple static website

  • SaaS Adventure

    21-day program to build a SAAS

Question By
Unsolved

Authentication - Social Providers ** WAVE APP **

hamburger-fries

Nov 7th, 2024 04:16 PM

I want to add more providers to the list with toggles. See imagesocial-providers-screen.jpeg

Does WAVE use https://socialiteproviders.com/

I see in the providers.php that socialite is being used:

'socialite' => true,
\thedevdojo-wave-3.0.1-0-gb8aa3ed\thedevdojo-wave-b8aa3ed\config\devdojo\auth\providers.php

Do we just add these to the providers.php file? Are there any other files we need to modify to add more providers?

'twitter' => [
        'name' => 'Twitter',
        'scopes' => null,
        'parameters' => null,
        'stateless' => true,
        'active' => false,
        'socialite' => true,
        'svg' => '<svg class="w-full h-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none"><path fill="#000" d="M36.653 3.808H43.4L28.66 20.655 46 43.58H32.422L21.788 29.676 9.62 43.58H2.869l15.766-18.02L2 3.808h13.922l9.613 12.709 11.118-12.71ZM34.285 39.54h3.738L13.891 7.634H9.879l24.406 31.907Z"/></svg>',
        'client_id' => env('TWITTER_CLIENT_ID'),
        'client_secret' => env('TWITTER_CLIENT_SECRET'),
    ],

Thank you!!

Note: taking the 21 day SAAS course over the next 2 hours :-) Im pretty comfortable with the Laravel Ecosystem but am looking to see if you guys covered this part. Not sure how to re-produce what you have created in the WAVE app without reproducing with custom code.......I like WAVE because it saved me from having to spend 2 weeks setting up WAVE :-)

Seems I guess the answer is yes for Socialite. https://saasadventure.io/dashboard/day-17

bobbyiliev

Nov 8th, 2024 07:53 AM

Hey!

Wave uses the Auth Package for the authentication configurations!

You can check it out here:

https://github.com/thedevdojo/auth

You can check out the Social Authentication Integration docs here:

Social Authentication Integration

This is indeed powered by the Socialite Providers package!

Let me know if you have any questions!

Good luck with the SaaS Adventure course! Note that there might be some outdated steps in there as it is for a bit older version of Laravel but it should mostly work! Feel free to post questions in case that you get stuck anywhere!

- Bobby