dpb587 / ssoca

SSO for services that use CA-based authentication.
https://dpb587.github.io/ssoca/
MIT License
10 stars 2 forks source link

Login via browser redirect causes browser prompt #7

Open dpb587 opened 5 years ago

dpb587 commented 5 years ago

For example, Safari gives the following warning when redirected back from ssoca to delivery the token to the client.

This is a non-secure form. This form will be sent in a way that is not secure. Are you sure you want to send it?

It works okay in Chrome.

dpb587 commented 5 years ago

Thoughts...

Options...

Random...

Interested in other ideas.

dpb587 commented 5 years ago

I switched the earlier experiment on the branch to use inter-domain postMessage which is a better alternative to using GET.

Unfortunately it still doesn't fix Safari which is intentionally not matching the behavior of Chrome, Firefox, Edge, and general specs which is causing these issues.

WebRTC might be an option to try next.