saml-ios-swift
ObjC version is available here.
Author: Daniel Passos
Level: Intermediate
Technologies: Swift 4, iOS, RHMAP, CocoaPods.
Summary: A demonstration of how to work with SAML Service
connector service. To configure the service in your RHMAP platform read the SAML notes
Project : Feed Henry
Target Product: RHMAP
Product Versions: RHMAP 3.10.0+
Source: https://github.com/feedhenry-templates/saml-ios-swift
Prerequisites: fh-ios-swift-sdk: 6+, Xcode : 9+, iOS SDK: iOS 9+, CocoaPods: 1.3.0+
What is it?
The SAML
project demonstrates how to how with SAML Service
connector service
If you do not have access to a RHMAP instance, you can sign up for a free instance at https://openshift.feedhenry.com/.
How do I run it?
RHMAP Studio
This application and its cloud services are available as a project template in RHMAP as part of the "SAML Example Project" template.
Local Clone (ideal for Open Source Development)
If you wish to contribute to this template, the following information may be helpful; otherwise, RHMAP and its build facilities are the preferred solution.
Build instructions
-
Clone this project
-
Populate
saml-ios-swift/fhconfig.plist
with your values as explained here. -
Run
pod install
-
Open
saml-ios-swift.xcworkspace
-
Run the project
iOS9 and non TLS1.2 backend
If your RHMAP is depoyed without TLS1.2 support, open as source saml-ios-swift/saml-ios-swift-Info.plist
add the exception lines:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>