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


Introduced by @dump, new features in Laravel 5.6.8

In the directive of Laravel 5.6, there is a new function called @dump Let's see how cool he is.


How to configure HTTPS on nginx to get an SSL A+ score from Qualys

This article describes how to adjust the ssl settings of nginx so that the website can obtain an SSL report and get an A+ rating. Here I am using letsencrypt free credentials. As long as you use the official Docker nginx new version image preset by D-Laravel, you should be able to achieve the same effect as mine. You can check your host SSL settings through the following.


How to set the external network IP to the Project on D-Laravel?

This video introduces how we assign Public Ip (public IP) to a specific Project in the D-Laravel environment. Whether it is the setting of the external production environment or the demo of your own project on the intranet, you can refer to the setting method of this video. In the video, although I used the external network IP of PPPoE dial-up to illustrate, we can also use the local network IP on our own computer if we change it. In this way, colleagues can connect to our D-Laravel Project.