2 months ago

Laravel/Socialite: Create OAuth google_id and secret_key programatically?

Posted 2 months ago by Gabotronix

In my laravel app I want to implement OAuth google login with laravel/socialite, for this I have to create some google credentials, client_id and secret_id, I do this from google console, I also have to add two uris, main uri and callback uri.

Most of my laravel/vue apps use OAuth, particularly google auth so the login proccess can be easier/faster, having to create credentials for each of my web apps is such a turn off.

I was wondering if there's a way to do this setup programatically with PHP/Javascript code, is it possible?

Please sign in or create an account to participate in this conversation.