Auth callback not using correct url?

Expected behavior

I can specify a different URL (in my case http://localhost:8081) and Forest Admin uses that

Actual behavior

Forest Admin makes an initial auth request to the correct URL. In the network logs I see a request with the name “authentication” hitting http://localhost:8081/forest/authentication. I then see a request to http://localhost:3000/forest/authentication/callback?code=code. This request fails because there is no server running on that port. In the UI I get the “Unable to Authenticate You” error. This error does not occur if I run my server on port 3000 and specify that as the URL.


Please provide any relevant information about your setup.

  • Package Version:
    Forest Liana 6.5.0

Okay, realized this was caused by the the forest_application_url defaulting to localhost:3000 still

Hey @drj17, and welcome to our community :wave:

I’m able to reproduce. This is indeed an issue from our forest_liana@6.x. I’m opening a ticket on our end.

Thanks you for reporting this :raised_hands: