leapp
leapp copied to clipboard
Support IdP authentication via external web browser to allow the use of saved credentials
Is your feature request related to a problem? Please describe. It's not possible to use saved credentials with the little pop up window that shows up for authentication in the app. I have to type my username and password every time.
Describe the solution you'd like Allow us to choose an external browser for IdP authentication.
Thanks for the enhancement! sadly I still don't know if it is possible to extract the SAML 2.0 response from an external provider.
Any suggestion on how to do it?
No idea if this would work or is blocked, but can the Leapp app listen for a redirect back to Leapp:// or something that contains the response the IdP provider redirects back to?
This is a great suggestion but I still don't have studied this opportunity, is there anyone capable to create a callback from the browser in a safe way? that's the problem with SAML 2.0
I’ve not looked into SAML redirect logic, but I was hoping it was possible to ask the redirect (if that’s supported?) to end up at say Leapp:// protocol which Leapp can respond to to receive the auth information.
Alternatively, could Leapp write a temp HTML file to disk that is opened by the app as a way to start the process? I’m not sure.
@urz9999 as started looking on the best practices for a custom leapp:// protocol, but I think more R&D is needed to give you a better answer
@andreacavagna01 I didn't deal with electron in the past, but it's possible to implement this with other languages using a similar idea to what @Plasma is suggesting (I used the same approach in GoLang). You would create a localhost service that would be the callback URL, and you will be able to process the response from the SSO.
I am not sure if you have seen this discussion before but sharing it for visibility: https://stackoverflow.com/questions/56642542/how-implement-auth0-authentication-using-external-browserchrome-firefox-etc-i
I was just looking for this myself. I love using leapp but our security team made some policy changes and we are only able to authenticate inside of Edge or Chrome directly, in app browsers are not recognized as authorized by our companies conditional access policies.