Login API not working properly in ios not sure why
-
Login API not working properly in ios not sure why
when i call login api it work first time but after i open again app session is Session persistence i think.
it giving error.
is anything special setting i have to do ? it is working perfectly with postman collection. -
Hi @Mahesh
Sorry for delay, We will check this issue & once it will get fix. We will let you know.
Thanks
-
@Mahesh said in Login API not working properly in ios not sure why:
Login API not working properly in ios not sure why
when i call login api it work first time but after i open again app session is Session persistence i think.
it giving error.
is anything special setting i have to do ? it is working perfectly with postman collection.The issue might be with how the session or token is being stored and used when the app is reopened. Since the login API works the first time and then fails, it's likely related to token handling or session persistence. Make sure the token is saved correctly after login and that it's being sent properly in the headers for each request. Also, check if the token expires quickly or if the backend requires a fresh login every time. Postman might be working because it handles headers or cookies differently than your app. It would help to know how you're storing the token on iOS, like with UserDefaults or Keychain.