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

DevDojo Auth Package Error

catalinnegru84

Jul 12th, 2024 05:45 AM

Having problem with devdojo - pretty auth. in the settings, whenever i want to modify smth, this is what i get : the error in the file. What can i do?

bobbyiliev

Jul 12th, 2024 05:47 AM

Hey 👋

That error does not show much information about what might be going on.

Can you check the storage/logs/laravel.log file for the complete error?

Also if you could share more information about your exact setup, like PHP version, the OS that you are using, the web server that you have and etc. that would be helpful :)

- Bobby

catalinnegru84

Jul 17th, 2024 03:00 AM

so i got over the error. the error itself showed in the ajax call some error regarding
tag which was very ambiguos and i do not recall what i did. now i got to the point where i have a beautifull login where i am asked to choose a provider, and when i am choosing google i get the error : could not find driver. The problem is that the driver - mysql is installed and configured correcly. it is chosen correctly - expanding the error - i get "CREATE TABLE "social_providers" ( "id" integer PRIMARY key autoincrement NOT NULL, "name" varchar, "scopes" varchar, "parameters" varchar, "stateless" varchar, "active" varchar, "socialite" varchar, "svg" varchar, "client_id" float, "client_secret" varchar, "slug" varchar )" even though the table is created. I am running on a local machine - laragon (php 8.3.x, apache, mysql) latest laravel updated to the fullest.

bobbyiliev

Jul 21st, 2024 03:28 AM

Hi there,

Happy to hear that you've got it working that far!

For the Socialite error that you are getting, did you follow the steps from the documentation here:

https://devdojo.com/auth/docs/config/social-providers/

Mainly the steps where you need to install the appropriate driver, eg. google in your case:

https://socialiteproviders.com/Google-Plus/

The driver error that you are getting is for the Socialite driver rather than the datatabase driver.

- Bobby