Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompt users to authenticate external_auth on workspace update #11367

Open
matifali opened this issue Jan 2, 2024 — with Slack · 4 comments
Open

Prompt users to authenticate external_auth on workspace update #11367

matifali opened this issue Jan 2, 2024 — with Slack · 4 comments
Labels
bug Used to filter all bug issues s2 Broken use cases or features (with a workaround). Only humans may set this.

Comments

Copy link
Collaborator

matifali commented Jan 2, 2024

If a new external_auth is added to the template, there should be a way to prompt the user to authenticate.
Slack Message

Note

A new external authentication can be added directly as well as through a module to an existing template.

Workaround

Tip

Go to https://coder.eaxmple.com/settings/external-auth and authenticate/re-authenticate with the external provider manually.

@cdr-bot cdr-bot bot added the feature Something we don't have yet label Jan 2, 2024
@matifali matifali changed the title If a new external_auth is added to template there should be e way to prompt the user to authenticate If a new external_auth is added to template, prompt the user to authenticate Jan 2, 2024
@matifali matifali added feature Something we don't have yet bug Used to filter all bug issues s2 Broken use cases or features (with a workaround). Only humans may set this. and removed feature Something we don't have yet labels Jan 3, 2024
@matifali
Copy link
Collaborator Author

matifali commented Jan 3, 2024

I am promoting it as a bug as it breaks one of the core workflows.
For auto starts when updates are mandatory, we should hold updating such workspaces and show a banner to the user in SSH sessions and UI about authenticating with the newly added external authentication when they connect to their workspaces.

@matifali
Copy link
Collaborator Author

This is also valid if the current token is expired.

@BrunoQuaresma
Copy link
Collaborator

This would require the BE to return this info somewhere, probably in the workspace or template payload. cc.: @mtojek

@mtojek
Copy link
Member

mtojek commented Feb 4, 2024

@BrunoQuaresma Which information do you mean exactly? Can you suggest a JSON snippet, so we can drill it down?

@matifali matifali changed the title If a new external_auth is added to template, prompt the user to authenticate If a new external_auth is added to template, prompt the user to authenticate on workspace update Mar 10, 2024
@kylecarbs kylecarbs changed the title If a new external_auth is added to template, prompt the user to authenticate on workspace update Prompt users to authenticate external_auth on workspace update May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used to filter all bug issues s2 Broken use cases or features (with a workaround). Only humans may set this.
Projects
None yet
Development

No branches or pull requests

3 participants