geteduroam / linux-app

geteduroam Linux client
BSD 3-Clause "New" or "Revised" License
21 stars 3 forks source link

Getting "Authorization failed" with the rpm #55

Open VfBfoerst opened 2 days ago

VfBfoerst commented 2 days ago

Hi :)
I cannot configure eduroam with the packages installed with the rpm files, neither with the gui nor with the cli.
I tried version 0.4 and 0.3. I am running Opensuse Tumbleweed. I always get this error message when i try to authenticate:
image

In debug mode, the cli produces the following error output:

time=2024-11-14T19:10:35.629+01:00 level=ERROR msg="Could not obtain eap config with OAuth" error="failed to decode JSON: json: cannot unmarshal number 899.9999999 into Go struct field TokenResponse.expires_in of type int64"

Am I doing somethin wrong?

jwijenbergh commented 2 days ago

You're not doing something wrong. It seems that the server is returning some bogus data, or that my code has a bug somewhere :^). Investigating...

jwijenbergh commented 2 days ago

If you don't mind letting this be known publicly, which organization is this?

VfBfoerst commented 2 days ago

If you don't mind letting this be known publicly, which organization is this?

Found the following matches: 
[1] Universität Bamberg