TheThingsNetwork / lorawan-stack

The Things Stack, an Open Source LoRaWAN Network Server
https://www.thethingsindustries.com/stack/
Apache License 2.0
975 stars 306 forks source link

`server_error` while logging into TTS CE #5298

Closed ymgupta closed 2 years ago

ymgupta commented 2 years ago

Summary

When a user deletes an account in TTN V2 and tries to log in with the same credentials in TTS CE, the below error appears, which is not helpful. Reference: https://github.com/TheThingsIndustries/lorawan-stack-support/issues/641

error: server_error
error_description: oops! something went wrong

Steps to Reproduce

What do you see now?

After logout (Step 4), the below error appears, and unable to login to the console (refer to the image).

error: server_error
error_description: oops! something went wrong
state: Y9zKLt5KcDxD9UwC

image

What do you want to see instead?

As per #641, @htdvisser suggested improving the user experience in displaying the error in this case.

Environment

TTS v3.18.1

How do you propose to implement this?

...

How do you propose to test this?

...

Can you do this yourself and submit a Pull Request?

No.

htdvisser commented 2 years ago

This doesn't look like an issue in The Things Stack, but more in the OIDC provider (in this case: The Things ID).

+ @nicholaspcr

nicholaspcr commented 2 years ago

This indeed is a issue with the The Things ID, its something I can do so I'll take a look into it. Created the issue there and with that I'll close it here.