OAuth/Github login broken in iOS home screen

(Ef4) #1

Bug reproduction:

  1. Using mobile safari.
  2. Visit https://discuss.emberjs.com/
  3. From the sharing menu, Add to home screen.
  4. Launch the app.
  5. Touch Login
  6. Touch “With Github”
  7. User lands directly on https://discuss.emberjs.com/auth/failure?message=csrf_detected&strategy=github and sees the message “Sorry, there was an error authorizing your account. Perhaps you did not approve authorization?”

(Jeff Atwood) #2

But this works OK if you open the website in a normal Mobile Safari scenario?

(Sam Saffron) #3

Btw, we definitely want to fix this but it is worth noting we have a mobile app that simply wraps safari and provides notifications

(Ef4) #4

Yes, it works in regular mobile safari.

(Ef4) #5

Thanks, and I just confirmed it works in the native-wrapped app.