Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Latest commit

 

History

History
54 lines (35 loc) · 2.16 KB

README.md

File metadata and controls

54 lines (35 loc) · 2.16 KB

saml-ios-swift

circle-ci

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

  1. Clone this project

  2. Populate saml-ios-swift/fhconfig.plist with your values as explained here.

  3. Run pod install

  4. Open saml-ios-swift.xcworkspace

  5. 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>