Rocket.Chat.iOS icon indicating copy to clipboard operation
Rocket.Chat.iOS copied to clipboard

[NEW] Support Basic Authentication

Open hog-seruj opened this issue 6 years ago • 3 comments

Description

iOS application doesn't support basic authentication. ex: it should authenticate with username:[email protected]

Devices and Versions

iPhone 7 iOS 12.0.1 Rocket Chat 3.1.1

This issue fixed for Android - https://github.com/RocketChat/Rocket.Chat.Android/issues/1727

hog-seruj avatar Nov 06 '18 18:11 hog-seruj

@hog-seruj Thank you! Do you have any pull-requests in mind for the implementation of this on iOS?

rafaelks avatar Nov 06 '18 22:11 rafaelks

No, I don't have any pull-request for iOS.

hog-seruj avatar Nov 08 '18 09:11 hog-seruj

I have an idea of how to take on this issue but i have question since i'm not very experienced with swift. Thing is i managed to add the headers for basic auth what i'm really missing is how to handle models i want to store this data but i still don't get how to handle this properly, i've noticed that we store the server data in the realm but i don't get at which step is the data really stored if someone can point me where in the process where you write down the server url and then the url gets stored i think i can finish my patch

Drintios avatar Jul 03 '19 14:07 Drintios