PhlexPlexico / G5V

A front-end for G5API to manage matches/seasons/tournaments for CS:GO
MIT License
56 stars 29 forks source link

Sign in through steam - Noob question #183

Open theck1 opened 1 week ago

theck1 commented 1 week ago

Hi.

Love what you have done!

I have this running in docker, and nginx in front. So far so good, but my question is how do I make the sign in through steam button work? When I click it I only get an empty page within the G5V layout. See screenshots. I have added my API key and user account in my docker compose from Steam, but I am not sure if that it is the culprit, or I am missing something.

Do I need another auth container towards the steam login or how is this intended to work? Please see attached screenshot.

This is after I click the login button: image

This is when I click the user icon: image

theck1 commented 1 week ago

Never mind, found your nginx wiki, and got a few steps closer :)

PhlexPlexico commented 1 week ago

Glad you are able to get it partially working! Yes, there's a few extra steps if you're not using the Caddy docker container in the docker compose file, and using your own reverse proxy. Basically if this happens, it's due to the front-end not being able to contact the API. Once you get that linked, it should behave normally!

Thanks!

theck1 commented 1 week ago

It sure did, Thanks! Everything seems to be working fine, however it seems anyone with a steam account can login and create matches, even though I have set only myself as admin and superadmin.

I have also set locallogins to false in my docker compose.

Where and how do I let only myself be able to create matches and do "admin" stuff in the web ui?

Thanks

PhlexPlexico commented 1 week ago

While this is true, they would also need to provision their own servers and create their own teams. Prior to a few updates, users were unable to see their own stats unless they have logged in.

Usually not having servers available is enough to deter most people from creating matches, as there is a lot more work involved then just logging in. And if you only need a handful of people to manage matches, you can set them as admins (or supers for rcon access during matches) and keep everything else as private.

theck1 commented 4 days ago

So if I understand this right: The others that are logged in and are able to create matches can't see the servers I have added with my steam ID as admin?

PhlexPlexico commented 3 days ago

That is correct, and if teams attend public they won't be able to put your teams into matches either :)