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+
The SAML
project demonstrates how to how with SAML Service
connector service
If you do not have access to a RHMAP instance, you can # for a free instance at https://openshift.feedhenry.com/.
This application and its cloud services are available as a project template in RHMAP as part of the "SAML Example Project" template.
If you wish to contribute to this template, the following information may be helpful; otherwise, RHMAP and its build facilities are the preferred solution.
-
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
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>