iOS keeps logging users out when HTTPS site added via HTTP link

My forum (Patreon sign in) is hosted by discourse and the app seems to kick the user out constantly. I am forced to reconnect every single time I open the app, see screen recording:

I also am experiencing this. I recently turned on https for our discourse site so I thought that might have something to do with it, but it does work maybe 1 out of 50 times I have tried. I get into the forums. Next entry into the app I have to authorize again and it goes back to re-prompting over and over to authorize again.

Any chance you can tell me when you started experiencing this please?

That’s interesting - the same situation happens with @mpj - you’ll notice that it tries to load the site via HTTP first then gets redirected to HTTPS.

If you instead add the site as HTTPS does that resolve the problem?


so far, yes. I’ll keep trying throughout today, quitting the app, going back in, restarting my phone, etc.

Edit: After several hours of testing off an on, it appears that this fixed my issue.
Note: I had switched from http to https last week and uses an nginx rule to direct http to https.


Yes we got to fix this then … this is magic https handling we have that needs fixing.


Good to hear that it’s recognized as an issue. I’ll hold off promoting the app to my members for now.

I understand software development is complex, but is there any hope of having this fixed soon? A working app is, after all, one of the selling points for the discourse hosting.

You have a lot of users entering the site as instead of in the app?

Oh, is that why it doesn’t work? Which one should they use?

edit: I just went through the flow - I would imagine that they most natural way for them to act when adding it in the app would be to type “” into the app, which I’ve set up as 301 redirect to via my registrar. ( is the CNAME record pointing to

I will try to make an iOS release next week (at least submit the build).


I have had an issue not related to this one preventing me from submitting build friday, still on it.


Quick update for anyone following this, I have uploaded a build to apple and sent a test build to @mpj so he can try it


@joffreyjaffeux Hi joffrey! I’ve tried the new app and the issue unfortunately remains. Screen capture:

1 Like

Ok thanks for trying and the video. I will find a way :stuck_out_tongue:

Pushed an update which should work :crossed_fingers:

Unfortunately, it does not, for me. :frowning: New screencap:
Dropbox - Video 2018-06-04 12 34 37.mp4 - Simplify your life
Dropbox - Video 2018-06-04 12 34 37.mp4 - Simplify your life

can you try to uninstall the previous one before please ?

Okay, tried that. Problem still remains:

I am going to PM you the password to that test account so that you can reliably replicate.

The latest version works!!!