basetool-io / basetool

Open-source internal tool framework. 💪 Empower your team and collaborators to view and manage the data you already own in a nice easy-to-use protected tool. Basetool helps you have a better handle on your data in a collaborative way so you can focus on moving your business forward.

Home Page:https://basetool.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basetool should respect the next

vernonstinebaker opened this issue · comments

Describe the bug
When configuring the application to run internally, without a canonical URL, the application loops displaying:
https://next-auth.js.org/errors#client_fetch_error session TypeError: Only absolute URLs are supported

To Reproduce
Steps to reproduce the behavior:
Configure .env to use a local IP, localhost, etc as the NEXTAUTH_URL

or

Comment out NEXTAUTH_URL and add NEXTAUTH_URL_INTERNAL

the application will indicate that NEXTAUTH_URL is not set and will continue to issue the error:
https://next-auth.js.org/errors#client_fetch_error session TypeError: Only absolute URLs are supported

Expected behavior
When NEXTAUTH_URL_INTERNAL is set the application should respect this configuration.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Docker container
  • Browser Safari
  • Version 15.4

Additional context
Screen Shot 2022-04-15 at 2 50 11 PM
![Screen Shot 2022-04-15 at 2 49 03 PM](https://user-image
Screen Shot 2022-04-15 at 2 48 25 PM
s.githubusercontent.com/8304954/163533016-5eac08e3-bac8-4d83-9f94-945c6bd2bc59.png)

Hey @vernonstinebaker. Unfortunately, we don't have too much time allocation for basetool at the moment.

We're open to merging in a PR if you're so kind as to invest a bit of your time. Thank you!

This issue hasn't been updated in 60 days. We'll mark it as stale. Would you mind letting us know if you've got updates on it and you want to re-open it? Thanks 🙏

This issue hasn't been updated in 60 days. We'll close it for now. Would you mind letting us know if you've got updates on it and you want to re-open it? Thanks 🙏