2 weeks ago

Socialite Issue

Posted 2 weeks ago by jleitch

Hi all, hoping you can help.

I have a base install of Laravel 8.3 that I'm trying to get working with Socialite and the Okta provider. Unfortunately, when I access the route that triggers the redirectToProvider method it redirects me to my localhost route followed by oauth2/v1 etc rather than taking me to Okta.


public function redirectToProvider()
        return Socialite::driver('okta')->redirect();

APP_URL setting in .env is set to the correct full path (its a few deep e.g. localhost/app1/appname/public)

I'm at a loss at what else to try - any suggestions/questions?


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