We’re currently stuck and nobody from the team can login, in all environments
The liana returns a 200 code on authentication
Then this request fails: http://localhost/forest/authentication/callback?code=…&state=…
Why a request in sent to localhost ?
Please provide in this mandatory section, the relevant information about your configuration:
- Project name: Bits
- Team name: Operations
- Environment name: Production
- Agent type & version: 7.0.0
Hello @Lucas_Scariot! Welcome to our community.
We can see a CORS issue on the /forest/authentication/callback route and it calls localhost instead of your actual backend URL. This is probably due to a misconfigured APPLICATION_URL.
Can you check that the APPLICATION_URL environment variable matches your actual backend URL?
Let me know if it helps.
APPLICATION_URL was missing indeed, thanks for the answer !
It could be interesting to have warning / error messages when an environment variable is missing !
Hey again @Lucas_Scariot,
Indeed, I will push your feedback to our team to improve our experience in the future.