EsperoTech / yaade

Yaade is an open-source, self-hosted, collaborative API development environment.
MIT License
1.6k stars 71 forks source link

Scope value in "Auth" tab gets cleared after Generate Token #212

Closed cmenzi closed 4 days ago

cmenzi commented 2 weeks ago

When we define a variable in Environments (e.g. SCOPES = api://dbf86d30-1ec4-4abe-b8e8-e6ef62145b83/.default) and use it in the "Auth" tab via ${SCOPES} and then click "Generate Token", after success token generation, the "SCOPE" value gets cleared and is not remembered anymore.

Expected: The Scope value in the "Auth" tab stays after "Generate Token"

jonrosner commented 2 weeks ago

Thanks for reporting this. Is it only the scopes value or any field in the auth tab?

cmenzi commented 2 weeks ago

Hi @jonrosner

It's only the "Scope" value in the "Auth" tab.

Before "Generate Token"

image

After "Generate Token"

image

jonrosner commented 4 days ago

This is fixed in the newest nightly release