-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
SSO Login Success Page needs a designer's touch #2454
Comments
I think a customer reported an issue similar to this previously with tele, and had linked to a go library that they noted works correctly on their system with other programs. The 2 second search though I can't find the history or where this might have been captured in tickets, but let me know if you'd like my help tracking this down. |
@klizhentas it's another example where Teleport/Gravity functionality is shared but the Teleport repo is used to create a ticket. |
For the first problem. We use sensible-browser command to open a default browser on linux systems. Below is an order of lookups it does to launch a default browser:
@kontsevoy, could it be the user error with misconfigured default browser? Where (for example) the |
This is another discussion on the subject As an alternative we can use xdg-open command (which some of the golang internal packages use too). And fallback to |
Problems
When using SSO via an external provider, say Github, users execute:
... which opens a browser window with a Github login page.
Problem One
It uses the wrong browser. On my machine the default is Chrome (clicking on any URL in a terminal opens Chrome, I am on Ubuntu). But
tsh
opens Brave for some reason.Problem Two
When a user successfully authenticates, Github redirects back to Teleport and it shows this ugly page:
tsh
because the same page is re-used by Gravity. The language should be a simple "Login successfull, you can close this window"./msg/info
?! Authentication URLs follow REST pattern in well-written applications around "session" resource, i.e.GET /session/new
is the login screen andGET /session/status
would be this.The text was updated successfully, but these errors were encountered: