We are offering a Software Development Kit for each mobile platform. You can use it to integrate access management seamlessly into your own app and codebase.
To setup an app for your system visit the backend website. On the upper left corner you find a drop down menu Units click there and find the office you want to add an app and click it. After that you find another drop down menu Apps -> App Builder.
To create a new App click Mobile Apps and then the little + button in the upper right corner. Provide a name and a authentication type to create the App.
To create new OAuth application press on the menu item Oauth application and then the little + Button in the upper right corner.
Provide a Name (f.e.: Android Example App
), as scope put me
(more information about the scope can be found at the backend API documentation), select the mobile app which you want to create the OAuth token for
and a redirect url (f.e.: com.spaceos.smartworkspace.app.local://oauth/token)
We are using SSL certificate pinning to mitigate man-in-the-middle attacks. Therefore we add an SHA256 hash of the public key of our SSL certificate of the backend system. For our systems the following hashes should be used:
*.sensorberg.io: sha256/s3hKw+iwYWscUHB1cmwiFJIPZ+y/mA3sSTn/JMkz1ag= sha256/C5+lpZ7tcVwmwQIMcRtPbsQtWLABXhQzejna0wHFr8M=
*.sensorberg.com: sha256/YAYGGyah+cTWrBFIaK6I9fKsznX3mKPCzvNKUmJgjY4= sha256/C5+lpZ7tcVwmwQIMcRtPbsQtWLABXhQzejna0wHFr8M=
If you run the SDK against a different domain, please provide a valid hash, otherwise the SDK will not connect to your backend system.
The base url for your app is the url of the backend for example: https://demo.sensorberg.com/
The OAuth-Token can be found in the backend when you click on the upper left drop down menu Units -> name of the office -> Apps drop down -> App Builder -> Oauth application -> name of the Android App there the OAuth-Token is called as Uid
Our SDK for iOS should be used for integration into the iOS operation system, developed by Apple.
Our SDK for Android should be used for integration into the Android operation system, mainly developed by Google.