Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-7864

App throws fatal error when keycloak configuration is not present

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • None

    Description

      When running iOS memeolist app without keycloak configuration, the app freezes (white screen) and fatal error is thrown:
      Thread 1: Fatal error: 'try!' expression unexpectedly raised an error: AGSAuth.AgsAuth.Errors.noServiceConfigurationFound

      To reproduce this issue, you can use this configuration:

      {
      	"version": 1,
      	"clusterName": "https://192.168.37.1:8443",
      	"namespace": "myproject",
      	"clientId": "app-android-memeolist",
      	"services": [{
      			"id": "sync",
      			"name": "sync",
      			"type": "sync",
      			"url": "https://data-sync-server-datasync-keycloak-test.community.skunkhenry.com/graphql",
      			"config": {}
      		}
      
      	]
      }
      

      Attachments

        Issue Links

          Activity

            People

              pbraun@redhat.com Peter Braun
              psturc@redhat.com Pavel Sturc
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: