kasmtech / workspaces-issues

19 stars 4 forks source link

[Bug] - Github OpenID #488

Closed 3kh0 closed 11 months ago

3kh0 commented 11 months ago

Existing Resources

Describe the bug Failed to login with Github OpenID

To Reproduce Steps to reproduce the behavior:

  1. Go to the login page
  2. Click on Login with Github
  3. See error

2023_11_28_0rx_Kleki

Expected behavior

Login and be sent to the dashboard

Screenshots

2023_11_28_0sa_Kleki

Workspaces Version 1.14.0

Workspaces Installation Method Single Server

Client Browser (please complete the following information):

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0

Workspace Server Information (please provide the output of the following commands):

Server: Containers: 10 Running: 10 Paused: 0 Stopped: 0 Images: 17 Server Version: 24.0.6 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Using metacopy: false Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: systemd Cgroup Version: 2 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog Swarm: inactive Runtimes: io.containerd.runc.v2 runc Default Runtime: runc Init Binary: docker-init containerd version: 61f9fd88f79f081d64d6fa3bb1a0dc71ec870523 runc version: v1.1.9-0-gccaecfc init version: de40ad0 Security Options: apparmor seccomp Profile: builtin cgroupns Kernel Version: 5.15.0-83-generic Operating System: Ubuntu 22.04.3 LTS OSType: linux Architecture: x86_64 CPUs: 4 Total Memory: 7.746GiB Name: vultr ID: bfea98e6-7e91-44f3-8c78-b2011c5983dd Docker Root Dir: /var/lib/docker Debug Mode: false Experimental: false Insecure Registries: 127.0.0.0/8 Live Restore Enabled: false

 - `sudo docker ps | grep kasm`

e6a01e4d92f6 kasmweb/kali-rolling-desktop:1.14.0 "/dockerstartup/kasm…" 4 weeks ago Up 34 hours 4901/tcp, 5901/tcp, 6901/tcp 3kh0_ff201da4 7235fafc215d kasmweb/brave:1.14.0 "/dockerstartup/kasm…" 7 weeks ago Up 9 days 4901/tcp, 5901/tcp, 6901/tcp noah_d7997c25 1fa4a89a2820 kasmweb/nginx:1.25.1 "/docker-entrypoint.…" 2 months ago Up 2 months 80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp kasm_proxy 954f61ea107b kasmweb/agent:1.14.0 "/bin/sh -c '/usr/bi…" 2 months ago Up 2 months (healthy) 4444/tcp kasm_agent 89bbde712f8b kasmweb/share:1.14.0 "/bin/sh -c '/usr/bi…" 2 months ago Up 2 months (healthy) 8182/tcp kasm_share 6843817947b0 redis:5-alpine "docker-entrypoint.s…" 2 months ago Up 2 months 6379/tcp kasm_redis 49fbb40155c4 kasmweb/kasm-guac:1.14.0 "/dockerentrypoint.sh" 2 months ago Up 2 months (healthy) kasm_guac 8af478116ca2 kasmweb/manager:1.14.0 "/bin/sh -c '/usr/bi…" 2 months ago Up 2 months (healthy) 8181/tcp kasm_manager 441e5e0001fe kasmweb/api:1.14.0 "/bin/sh -c '/usr/bi…" 2 months ago Up 2 months (healthy) 8080/tcp kasm_api c77410bc8c7b postgres:12-alpine "docker-entrypoint.s…" 2 months ago Up 2 months (healthy) 5432/tcp kasm_db



**Additional context**
Add any other context about the problem here.
j-travis commented 11 months ago

I'm guessing there should be an error reported in the logs when this failure occurs. Can you please paste it here

j-travis commented 11 months ago

Also, per the docs the scope be user:email. Looks like you just have email

3kh0 commented 11 months ago

Also, per the docs the scope be user:email. Looks like you just have email

Ah looks like I missed that part, thanks for telling me