rootUrl is not valid when creating admin account

19 views
Skip to first unread message

R

unread,
Dec 15, 2024, 10:51:10 PM12/15/24
to Sandstorm Development
I can't get past initial setup with email verification and domain based user auth. 
configuration follows: 
- internal postfix SMTP (working when tested) 
- Email login
- Users authenticated via email address set and unset, same response
- domain is different than the one used for sandstorm
- Nginx reverse proxy pointing to sandstorm
SERVER_USER=sandstorm
PORT=6080
MONGO_PORT=6081
BIND_IP=127.0.0.1
BASE_URL=https://sandstorm.mydomain.com
WILDCARD_HOST=*.sandstorm.mydomain.com
UPDATE_CHANNEL=dev
ALLOW_DEV_ACCOUNTS=false

Jake W

unread,
Dec 15, 2024, 10:57:55 PM12/15/24
to Sandstorm Development
So I am gathering you can reach Sandstorm's setup and access the admin panel using the admin token URL, but you are not able to create the first/admin account.

Did you by chance select the "Disallow collaboration with users outside the organization" option? That one tends to be the problematic one to try to work around.

R

unread,
Dec 15, 2024, 11:02:28 PM12/15/24
to Jake W, Sandstorm Development
Correct on everything up front, But I have not enabled the Disallow Collab feature. 
When performing setup, I had used email auth initially, and set a domain for user verification of "Mydomain2.com"
Once I finished setting up, I got to the user creation and I get "rootUrl is not valid" and no other logs or output to help troubleshoot unfortunately and the only reference in other help forums I see to this issue are for a bug fixed in 2016 that doesn't seem to match my situation 
I also added GitHub oAuth, and that seems to take me back to the beginning of the sandstorm setup process when I finish it
I've also gone back and removed the organization verification and I get the same error

--
You received this message because you are subscribed to a topic in the Google Groups "Sandstorm Development" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sandstorm-dev/r1pcIhc3v9E/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sandstorm-de...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/sandstorm-dev/5928e2db-f960-4ecb-850e-871a036bae06n%40googlegroups.com.

Jake W

unread,
Dec 15, 2024, 11:13:35 PM12/15/24
to Sandstorm Development

And it looks like it's trying to validate your BASE_URL there to create the admin token with it there. Is it safe to assume you have your BASE_URL set the exact way your browser sees the server through the reverse proxy?
Reply all
Reply to author
Forward
0 new messages