Using Okta on Laravel and Vue

Hello,
Im trying to implement it following this https://developer.okta.com/blog/2019/01/15/crud-app-laravel-vue

Set a descriptive application name, add http://localhost:8080/implicit/callback as a Login redirect URI, and click Done. You can leave the rest of the settings as they are.

It doesn’t give further explanation about the redirect URI, or why is it localhost, when I try to test the login link, my browser just tells me there is no connection. I am using XAMMP on a Mac ( so my app is running on the local host) is it related and how can work around it? Thanks in advance

The redirect_uri is the callback location where the authorization code or tokens should be sent. It must match the value preregistered in Okta during client registration.
https://developer.okta.com/docs/reference/api/oidc/#request-parameters

I’m assuming it’s localhost because the sample code runs on localhost:8080.

I’m not familiar with XAMPP but hopefully someone else can you help you with that.

1 Like