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

Laracon USA 2017 Video

No chance to attend Laracon in the US? Be a little fan, come and see the speeches of these top program developers. Let's find out what's new in Laravel!!

docker,laravel

How to use multiple YAML files to execute multiple docker container services

This video introduces how to use the docker-compose command to specify multiple YAML structure language configuration files to create container execution, and introduces how we simplify docker-compose by using .env in the D-Laravel environment Start command.

laravel,laravel livewire

Laravel livewire file upload demo

Livewire is a full-stack framework for the Laravel framework. It was the first time I wrote code, and he was probably the one who was able to write and marvel at the magic. My colleague also marveled while writing after being pushed by me. When I first learned Vue, I was not so surprised by him.