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,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.

dlaravel

How to automatically detect and update the certificate issued by let's encrypt through getssl

It's really great that let's encrypt provides free certificates. However, is it a bit troublesome to update the certificate every three months? This article introduces how to generate multi-domain SAN certificate settings through getssl, and schedule automatic certificate renewal. It's very simple, just six steps to get it done.

dlaravel

D-Laravel test domain name *.dev changed to *.test

Since Google Chrome 63 will forcibly convert the domain name of *.dev to https, the domain name of the new version of D-Laravel will be changed to *.test. This article explains how to update.