# Ionic and iOS Keychain

**URL:** <https://forum.ionicframework.com/t/ionic-and-ios-keychain/82098>\
**Category:** ionic-v3\
**Created:** [March 7, 2017, 3:58pm UTC](https://forum.ionicframework.com/t/ionic-and-ios-keychain/82098 "2017-03-07T15:58:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckouns](https://avatars.discourse-cdn.com/v4/letter/c/49beb7/32.png) [@ckouns](https://forum.ionicframework.com/u/ckouns)\
**Post date:** [March 7, 2017, 3:58pm UTC](https://forum.ionicframework.com/t/ionic-and-ios-keychain/82098/1 "2017-03-07T15:58:05Z")

</div>

Hey all!

I’ve been trying for the past couple days to integrate the iOS keychain into an Ionic 2 app for my company, in hopes of evolving that capability sometime into a single sign on implementation across all our apps within the company. However, I have tried using both cordova-plugin-ios-keychain found at [https://github.com/driftyco/cordova-plugin-ios-keychain](https://github.com/driftyco/cordova-plugin-ios-keychain) as well as cordova-plugin-keychain-touch-id found at [https://github.com/sjhoeksma/cordova-plugin-keychain-touch-id](https://github.com/sjhoeksma/cordova-plugin-keychain-touch-id), to no avail.

After authenticating the user’s text input login through our own API, I can see logs placed immediately before any kind of method using the Keychain. Once it hits any method using either of those Keychain libraries, it will never hit any of the success or failure callbacks. No success logs, no failures, no errors, nothing. Just stops.

I am using them via:

```
declare let cordova: any;
cordova.plugins.libraryClass.methodName();

```

I have also gone through the Entitlements in my XCode project in attempts to enable Keychain Sharing, also with no results.  
Any thoughts or suggestions would be infinitely appreciated.

---

<div class="post-metadata">

**Author:** ![hassanShahzad](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@hassanShahzad](https://forum.ionicframework.com/u/hassanShahzad)\
**Post date:** [July 6, 2017, 6:52am UTC](https://forum.ionicframework.com/t/ionic-and-ios-keychain/82098/2 "2017-07-06T06:52:40Z")

</div>

@ckouns did you find any solution?

---

<div class="post-metadata">

**Author:** ![hassanShahzad](https://avatars.discourse-cdn.com/v4/letter/h/77aa72/32.png) [@hassanShahzad](https://forum.ionicframework.com/u/hassanShahzad)\
**Post date:** [July 10, 2017, 12:20pm UTC](https://forum.ionicframework.com/t/ionic-and-ios-keychain/82098/3 "2017-07-10T12:20:25Z")

</div>

May be this is helpful for you.
