sepia-stt-server icon indicating copy to clipboard operation
sepia-stt-server copied to clipboard

Remove authentication requirement?

Open Goddard opened this issue 1 year ago • 3 comments

Just curious if some config option exists for this.

Goddard avatar Aug 19 '22 13:08 Goddard

Hi @Goddard ,

you mean like completely remove any user authentication?

[EDIT] Below comment is referring to SEPIA server NOT STT server alone:

Since everything in SEPIA is built to work based on user-IDs the system always requires some sort of account to work but in theory one could either replace the authentication module with something that simply accepts every request without checking the password or one could create a number of accounts and hard-code the login password into each client 🤔. Both options are not officially supported (yet?!).

fquirin avatar Aug 19 '22 14:08 fquirin

On local networks where the server would never be exposed to the internet the authentication isn't required at least in my use case. I was planning on having many hundred streams coming to the server or a cluster of servers.

Goddard avatar Aug 19 '22 14:08 Goddard

Oh sorry I just realized that you were talking about the STT server explicitly and not the SEPIA server in general, I mixed up the issues section 🤦‍♂️. Actually in this case you can simply stick with the default setting common_auth_token=test1234 which is already hard-coded into the STT-client (web) if no token is given. Or you can hard-code it into your custom requests.

[EDIT] The corresponding default clientId is "any".

fquirin avatar Aug 19 '22 14:08 fquirin