I found the solution. I had given Authorized JavaScript origins with ip address and Authorized redirect URIs with alias. So both of them should be the same for using the google OAUuth.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community