- Notifications
You must be signed in to change notification settings - Fork928
Description
Refresh Authentication Mechanism forcoder_external_auth
Resource
Description
In the current setup, a user can only authenticate via thecoder_external_auth
Terraform data source on the workspace creation screen. Post creation, there isn't a way to manually re-authenticate or refresh the authentication token. This limitation can disrupt workflow, especially when the token expires or is invalidated for any reason.
Proposed Solution
Extend the authentication functionality to the workspace settings page by replicating the authentication button from the workspace creation screen with an additional "Refresh" button. This way, users can see their authentication status and have the ability to re-trigger the OAuth flow to obtain a new token if necessary.
The OAuth flow should be re-triggered upon clicking the "Refresh" button.
Impact
By implementing this enhancement, users will have the flexibility to refresh their authentication tokens post workspace creation, ensuring uninterrupted access to external resources. This will significantly improve the user experience and the application's usability.
Additional Context
A seamless authentication experience is crucial for applications interfacing with external resources. A way to manage authentication post workspace creation will empower users to maintain continuous access and resolve authentication issues on demand.
cc:@bpmct,@kylecarbs