Ionic 3 Authorization issue: JWT: AuthHttp request contains no token in iOS

I got a problem with sending the token with the authhttp/http request.

Only on iOS my http requests are failing. The server (API) always responds with a 401 Unauthorized: “A token is required”.

This is my flow: user logs in > gets token from API > stores token in NativeStorage (normal storage broken in iOS) > redirect to profile page > does a [login to view URL] GET request for the user info with a token in the header > receives requested user info from API

=> the GET requests always errors.

I’ve tried using http request with a header, options, etc. I’ve tried to use [login to view URL] (was original request in my app, works on Android & browser) and I’ve tried to use the native advanced HTTP requests. But none of these methods work, because there is no token sent with the request, although I include a header.

Tried (almost) every solution I’ve found, but none works.

It is not a CORS problem, because the login request ([login to view URL]([login to view URL] + ’/get_token, creds) returns a token from that same API.

So in general: there is a problem with sending the token in a header with the request, because the API doesn’t receive one.

Project needs:

1/ you have to have a Bitbucket account

2/ you have to be able to test the solution yourself on an iPhone (not simulator etc) — we use Ionic pro for quick deploys

3/ A team member is able to provide more info and support on Skype

Kemahiran: Ionic Framework , iOS Development, Mobile App Development

Lihat lagi: ionic 3, ionic 3 social sharing example, ionic 3 share, ionic 3 build apk, ionic 3 build android apk, ionic 3 listview example, ionic 3 login example, ionic 3 project example, ionic 3 provider example, angular 5 ionic 3 example, ionic 3 import cordova plugin, ionic 3 templates, ionic 3 vs react native, ionic 3 vs react native performance, ionic 3 change app name, ionic 3 + laravel, ionic 3 twilio, ionic 3 firebase tutorial, firebase ionic 3, ionic 3 firebase chat app

Tentang Majikan:
( 21 ulasan ) Eppegem, Belgium

ID Projek: #17980500

8 pekerja bebas membida secara purata €157 untuk pekerjaan ini


Hello employer Can I help you I am very confident in your project So if you hire me, you will get wonderful result. Looking for work with you. Thanks

€155 EUR dalam 3 hari
(73 Ulasan)

Dear sir! How are you? I'm dedicated ionic app developer with more than 4 years experience [login to view URL] [login to view URL] So I'm sure i can do your project perfectly Please feel free contact to me Will be waiting for re Lagi

€250 EUR dalam 3 hari
(14 Ulasan)

We read your requirements about Ionic 3 Authorization issue and want you to know that we develop web and mobile applications and deploy to online servers. We can provide you with iOS applications, Android applications Lagi

€133 EUR dalam 2 hari
(4 Ulasan)

Hi There I will solve problem with sending the token with the authhttp/http request.i am able to provide you support on $kype Thanks

€155 EUR dalam 3 hari
(6 Ulasan)

hello i am very interested in your post project i am sure i can give you good result in time. i have rich experience on it. please call me Dmitrii. looking forward your reply. best regards

€155 EUR dalam 3 hari
(2 Ulasan)

Hi As a professional ionic developer, I can fix your http issue. I can start this project right now Please contact with me to discuss more details. Thanks, Zheng. D

€200 EUR dalam 3 hari
(2 Ulasan)

Hi, I am working on ionic since ionic 2 is released. I will solved your issue. I have Bitbucket account.

€155 EUR dalam 5 hari
(0 Ulasan)

Hello, I have experience with debugging HTTP requests in iOS apps, I can help you fix the problem. I also have a real iPhone device and a Bitbucket account. I worked as iOS app developer for 2 years.

€50 EUR dalam 3 hari
(0 Ulasan)