Closed

Add support for captive portals to mattermost-mobile [Open Source]

My company uses a captive portal, Google IAP (Identity aware proxy) to protect its mattermost installation

This means i can't use the mattermost mobile app on Android. As part of its startup it asks you to enter a server name, which it then 'pings' (calls /ping). With my captive portal this ping gets redirected (302) to a login page.

Current behaviour: The redirect of ping makes it say "cannot connect to the server. Please check your server URL and internet connection"

My desired behaviour (this job!): Alter the client's code so that it pops up a browser window, following the redirect. When the user logs in the cookies that get set need to be persisted in the application and send with **all future HTTP requests for that server**

The mattermost desktop client (v4.1.3 - yes it's an old one) seems to do this, i've had some problems with later versions of the desktop client supporting this as well.

So i think this work consists of:

- Handle redirected /ping to handle the login flow

- Persist cookies from the end of the login flow to the app for the whole session

- When reauthentication is necessary (a request encounters a 302 again) do the same thing you did for /ping

- Doing it in a way that means the merge request gets accepted on to the appropriate mattermost project

As a suggestion, perhaps it's a matter of catching 302s globally and popping them up in a browser?

I am a (busy) developer and can review your code, but the main thing is that this gets merged into the mattermost project.

Acceptance criteria:

- I can enter my company's chat server in the server box (I will reveal this to the winning bidder)

- I can login with the Google IAP protecting it (unfortunately i can't give you a working login to this, if it's a massive blocker we can maybe setup a sample IAP on GCP)

- I can use it for the session and login again when my session expires

- The PR is accepted to the mattermost-mobile project (i.e. meets their standards)

Skills: Mobile App Development, Javascript, Android, Open Source

See more: open source mobile sip phone, open source mobile phone shop, mobile pda sugarcrm open source, symbian open source mobile sip, open source sip simple mobile client, mobile antivirus open source, open source sip client mobile handsets, gps open source mobile, open source java mobile applications, mobile sip open source, open source java gps mobile, windows mobile open source crm, open source drop send, iax windows mobile open source, tracking windows mobile open source, mobile open source, php mobile open source

About the Employer:
( 0 reviews ) London, United Kingdom

Project ID: #24070597

12 freelancers are bidding on average £859 for this job

PharosProdInc

Hello. We’re a team of Mobile, Web developers and UI/UX designers with an extensive background and a passion for coding, mobile development, and web technologies. Our development office is located in Ukraine, Eastern More

£500 GBP in 7 days
(18 Reviews)
7.9
seekdeveloper

Hi, I'm a talented developer for iOS, Android and have 11.2 years full time development experience. I have already developed a great number of various applications, namely on-demand services, location-based apps, s More

£750 GBP in 7 days
(36 Reviews)
8.2
AwaisChaudhry

Hi, How are you? I just saw your job posting and I felt that I can help you with this job considering the experience I have with Android, Javascript, Mobile App Development, Open Source. Please check my portfolio: ht More

£750 GBP in 16 days
(63 Reviews)
7.9
mituld

Hello There, how are you doing? I have read the description and really interested in this job, I have great experience doing similar jobs regarding to these skills , Javascript , Mobile App Development , Android , O More

£500 GBP in 7 days
(117 Reviews)
6.7
einnovention

Hi there! I read your whole descriptions carefully and being a developer i recommend you to hire someone who can give you a hybrid app for your startup so that you will never see 302s ever, we are team of developers wi More

£600 GBP in 20 days
(15 Reviews)
5.6
SistemasUno

Hi, how are u? I have read requirements of your project with great care and I am very interested. I am a Android and IOS, Web(PHP, Javascript ...) and Firebase Backend Expert and have full experience over 5 years. Als More

£500 GBP in 7 days
(12 Reviews)
5.4
EricMtpixels

+++++++++++++++++++++++++++++++++++++++++++++========================================================================>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> We have read your project and it matches our skills and we More

£4000 GBP in 30 days
(5 Reviews)
5.5
appmasteramlesh

Hello, I have read and I understand your project detail you want (Android/ios) Mobile Application. I can design and develop it for you perfectly with all features & functionalities as you want. I am full time availabl More

£500 GBP in 7 days
(11 Reviews)
5.5
myappsdevelopers

We have analyzed your project requirement in detail, as per the analysis we need to develop an Android [login to view URL] would like to inform you that we have extensive experience in development of Android apps. Hence we can deve More

£500 GBP in 17 days
(17 Reviews)
4.3
wm2020

Hello Client, I am interested to work with you and I am absolutely sure that I can do this project very well in the shortest possible time. I'm a professional web developer which not only uses techniques in creating t More

£650 GBP in 7 days
(1 Review)
1.3
distilledinfo

Hi From design to development to testing and support, we provide end-to-end mobile app development services to help you build a new app for Android or port your existing iOS app to Android. We are ready to Add supp More

£555 GBP in 10 days
(3 Reviews)
0.0
uniqueappwork

Hello,I have 6 years of experienced on mobile application ( Android +iphone/ ipad ) and App admimn with development web services where admin can manage the app from backend ,. I have developed the Transport App , Rid More

£500 GBP in 7 days
(0 Reviews)
0.0