Is there an existing issue for this?
Current Behavior
Currently coder external-auth access-token entra-id-mgmnt returns https://FQDN/external-auth/entra-id-mgmnt for an extra external auth configuration for Azure management API after one hour of authenticating in account external access.
After timeout one could see the folling message:

To get it working again one has to re-authenticate again.
Setup
I've added a third external auth configuration for Azure management API. This actually works until the lifetime of the token has exceeded. So the settings are working and fully functional.
Relevant Log Output

Expected Behavior
After token timeout the token should be refreshed with refresh token so one can always get a fresh accesstoken. And not the URL.
Steps to Reproduce
- authenticate against Azure management API
- wait one hour until the lifetime of the has been invalidated
- try to get a fresh access-token via coder CLI
Environment
- Host OS: Linux
- Coder version: v2.20.2
Additional Context
No response
Is there an existing issue for this?
Current Behavior
Currently
coder external-auth access-token entra-id-mgmntreturns https://FQDN/external-auth/entra-id-mgmnt for an extra external auth configuration for Azure management API after one hour of authenticating in account external access.After timeout one could see the folling message:
To get it working again one has to re-authenticate again.
Setup
I've added a third external auth configuration for Azure management API. This actually works until the lifetime of the token has exceeded. So the settings are working and fully functional.
Relevant Log Output
Expected Behavior
After token timeout the token should be refreshed with refresh token so one can always get a fresh accesstoken. And not the URL.
Steps to Reproduce
Environment
Additional Context
No response