by Devin Yang
(This article was automatically translated.)

Published - 6 years ago ( Updated - 6 years ago )

Is there anyone who uses OAuth for website user login like me? There is a "test user" on the Facebook developer page.
It can be used to test whether the function of Facebook is normal,
Because when the website moved to GCE, for some reason, I actually posted one more in the $fillable array of Laravel's User model~,
Normally the program works fine, but when a new user logs in, an error is shown to you.
I keep hearing people say that I can't log in to this website to leave a message. I want to say that I am very normal. @@
After using the test user test today, ha, I found that the login function on my website has been broken for a long time.

Anyway, the worm -like symbol has been removed "~", he really is a worm>< .
protected $fillable = [
~'socialite','socialite_id',... abbreviated
];

In the application program, there is a role => test user, which can be used to create a test user, so that we can confirm whether there is a problem with the developed program.


Use the test user to test, as expected, my OAuth login function has been dead for a long time,
Tips, 3C Tech Center provides quite a lot of login methods,
After logging in, you can not only leave a message, but also add your favorite articles to your favorites.

You can search for the favorite articles in the drop-down list.

 

Tags: laravel

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


Laravel linux

My mobile computer, install Laravel 8 on Sony xperia 5 II

This is my first Android phone. It's no problem to try to install Laravel. Basically, I installed vim and mariadb. After executing sshd, you can log in through 8022, it is completely a mobile computer: p. The software I use is Termux...

dlaravel

Ha, I successfully made D-Larave run in the Raspberry Pi ARM environment

I bought the Raspberry Pi this time because I thought it was very fun. In addition, the Mac environment in my home is too new to compile Line Simple Beacon normally. Through the Raspberry Pi, it is easy to use, and there will be no problems in the environment. Of course, there are more applications. But as the author of D-Laravel, of course I have to come and give it a try.....

laravel

Laravel 5.7 new feature dump-server.

In Laravel 5.7.x, the artisan command starts to support and integrate Symfony's dump-server. Through the artisan command, start the dump-server, and we can display the dump data on the console.