missing the required client identifier
pika15 opened this issue · 4 comments
Hey, can anyone help me with this? I have an issue, where my program can't create login url, it seems missing client_id. I have double check on my env and my Google Console, and it's all good. It's work well on localhost, but when I upload it on my server, it's not work.
Code on my controller:
$authObject = new AuthenticateService;
$authUrl = $authObject->getLoginUrl(auth()->user()->email);
Thanks before~
Yea, I've updated my .env on my server, I've tried dd (dump die) my .env on my server too and it's shown my updated client_id as well, but I don't know why when I tried to run this code, it always shows the error like that.
I've seen the previous issue you mentioned as well, and ofc, I do all steps you write on the documentation. Like I said before, it worked well on the localhost, but not on the server.
Hey! I fixed it!
So, it's because the default configuration on the google-config.php
written in lowercase, but my google information on .env
written in uppercase, I don't know why, but it's case sensitive on my server.
Thanks @alchemyguy for trying to help me, I love your work, it's help me a lot!