[GH-ISSUE #574] Admin profile shown after login #337

Open
opened 2026-02-27 15:58:18 +03:00 by kerem · 3 comments
Owner

Originally created by @cairoapcampos on GitHub (Mar 2, 2023).
Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/574

By configuring WebVirtCloud in docker, I was able to add the compute node without any issues. However, after changing the admin user's password, this profile is shown every time after login.

What configuration should I do so that it is no longer shown after login?

I remove screen data because of the image being shared here.

profile

Originally created by @cairoapcampos on GitHub (Mar 2, 2023). Original GitHub issue: https://github.com/retspen/webvirtcloud/issues/574 By configuring WebVirtCloud in docker, I was able to add the compute node without any issues. However, after changing the admin user's password, this profile is shown every time after login. What configuration should I do so that it is no longer shown after login? I remove screen data because of the image being shared here. ![profile](https://user-images.githubusercontent.com/21186839/222560413-162c662f-7d07-46c6-9356-e06dd9941ff4.png)
Author
Owner

@catborise commented on GitHub (Mar 3, 2023):

yes it does. but because of link redirection. to fix refresh page. then enter full url like: http://localhost:8000

<!-- gh-comment-id:1453357382 --> @catborise commented on GitHub (Mar 3, 2023): yes it does. but because of link redirection. to fix refresh page. then enter full url like: http://localhost:8000
Author
Owner

@cairoapcampos commented on GitHub (Mar 3, 2023):

@catborise I'm trying to use WebVirtCloud in production. I configured SSL/TLS. SSL/TLS is defined on the Nginx reverse proxy. This way:

User access: https://webvirtcloud.mydomain.com -> Proxy redirect: http://IP:8085

docker-compose.yml:

  • 8085:80

nginx webvirtcloud.conf:

proxy_pass http://IP:8085;

Access via domain name worked and I can access the VM consoles because port 443 was defined.

settings.py:

# Websock port
WS_PORT = 6080

# Websock host
WS_HOST = "0.0.0.0"

# Websock public port - 80 or 443 if reverse-proxy, else 6080
WS_PUBLIC_PORT = 433

# Websock public host
WS_PUBLIC_HOST = None

# Websock public path
WS_PUBLIC_PATH = "/novncd/"

# Websock Certificate for SSL
WS_CERT = None

SOCKETIO_PORT = 6081
SOCKETIO_HOST = '0.0.0.0'

# Socketio public host
SOCKETIO_PUBLIC_HOST = None

# Socketio public port - 80 or 443 if reverse-proxy, else 6081
SOCKETIO_PUBLIC_PORT = 6081

I don't know where to set port 8000. Maybe I'm confusing the ports usage.

<!-- gh-comment-id:1453809190 --> @cairoapcampos commented on GitHub (Mar 3, 2023): @catborise I'm trying to use WebVirtCloud in production. I configured SSL/TLS. SSL/TLS is defined on the Nginx reverse proxy. This way: User access: https://webvirtcloud.mydomain.com -> Proxy redirect: http://IP:8085 **docker-compose.yml:** - 8085:80 **nginx webvirtcloud.conf:** proxy_pass http://IP:8085; Access via domain name worked and I can access the VM consoles because port 443 was defined. **settings.py:** ``` # Websock port WS_PORT = 6080 # Websock host WS_HOST = "0.0.0.0" # Websock public port - 80 or 443 if reverse-proxy, else 6080 WS_PUBLIC_PORT = 433 # Websock public host WS_PUBLIC_HOST = None # Websock public path WS_PUBLIC_PATH = "/novncd/" # Websock Certificate for SSL WS_CERT = None SOCKETIO_PORT = 6081 SOCKETIO_HOST = '0.0.0.0' # Socketio public host SOCKETIO_PUBLIC_HOST = None # Socketio public port - 80 or 443 if reverse-proxy, else 6081 SOCKETIO_PUBLIC_PORT = 6081 ``` I don't know where to set port 8000. Maybe I'm confusing the ports usage.
Author
Owner

@catborise commented on GitHub (May 10, 2023):

sorry for late answer. can you please add

LOGIN_REDIRECT_URL="/instances/"

to settings.py file and restart webvirtcloud app

<!-- gh-comment-id:1541586115 --> @catborise commented on GitHub (May 10, 2023): sorry for late answer. can you please add LOGIN_REDIRECT_URL="/instances/" to settings.py file and restart webvirtcloud app
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/webvirtcloud#337
No description provided.