streamaserver / streama

Self hosted streaming media server. https://docs.streama-project.com/
MIT License
9.67k stars 987 forks source link

API keys are marked as invalid, tried two different keys #714

Closed millenialGaston closed 5 years ago

millenialGaston commented 5 years ago

Issue description

When configuring admin for the first time and copy pasting the api key obtained by creating new account and requesting api i can't save settings as the validate function returns invalid

Steps to Reproduce

Fresh install and first time settings setup

Expected Behaviour

correct api

Actual Behaviour

invalid

Environment Information

EchoDev commented 5 years ago

How long is your api key and where did you get your api key from?

The api key should be 32 characters long.

millenialGaston commented 5 years ago

Hey, I got it from the official site: 4db14b3715f9acbadc16f0bcf0a574xx

EchoDev commented 5 years ago

You shouldn't post your api key publicly.

The key looks correct tho, it has the proper length and should work. Make sure you paste it without spaces at the beginning and end.

millenialGaston commented 5 years ago

It works now after reboot, same key, I don't know what caused the issue. There was some lag when pressing the validate key, seems like the app deadlocks in some invalid state through the web api. I'm closing it but I think there's a small bug somewhere or else the moviedb thing was down or something