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

error page for ftp login #33

Open
lexoyo opened this issue Dec 2, 2017 · 6 comments
Open

error page for ftp login #33

lexoyo opened this issue Dec 2, 2017 · 6 comments

Comments

@lexoyo
Copy link
Member

lexoyo commented Dec 2, 2017

Right now when you try to login to ftp and give the wrong login or pass, the error is displayed as JSON
There should be a page to display auth errors for FTP
Then we should use this page also for SFTP and maybe other services too
CC @JbIPS

@JbIPS
Copy link
Contributor

JbIPS commented Mar 25, 2018

I gave this one some thoughts and the main reason the login page is in a separate window is because we were lazy.

We could totally set a redirectURI for non-OAuth services to an endpoint that open a pop-in or something.

This way we stay in the React app and everything will be easier.

What do you think of that @lexoyo @SouroucheB?

@JbIPS
Copy link
Contributor

JbIPS commented Mar 25, 2018

Even better, we should check if a service use OAuth and use a different login strategy if it don't.

@jotakar
Copy link
Contributor

jotakar commented Oct 8, 2018

interesting.
I've studing this option. I don't like a page to log FTP, I prefer popup window or similar.
Looking for the code I reached UnifileService.js in module cloud-explorer. There a window is open. Coul be this a good place to change the code?
Indeed here you can add some parameters and get a floating window, but not a modal window.

@JbIPS
Copy link
Contributor

JbIPS commented Oct 8, 2018

Yes, that would be here to change the window.open by a new modal popin

@jotakar
Copy link
Contributor

jotakar commented Oct 11, 2018

When ftp login fails the error window says that ok button allows repeat the login, but it open a blank window. The proccess loses the service name and can not open the right login window.
I've found how to create a modal login window, but I can not throw the error window (when login fails) in the same login window, any idea?
Thanks

@jotakar
Copy link
Contributor

jotakar commented Oct 20, 2018

At least, I think I get the objetive, a popup window for login, with this pull request #79.
Anybody could test it?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants