From a user perspective, you start with going into the mobile apps log in page. Here you select "settings", after that the user types in the name of the environment he/she wants to log into. When you have chosen the environment you can click "log in" and get redirected to the external Oauth log in page, here you enter your credentials and log in, after that you are redirected and logged in to the Quinyx mobile app.
Start with a browser with Dev Tools activated. Navigate to the login URL (authorize):
Here the basic setup for customer’s mobile SSO will be explained. This view can be found in Classic under Settings > Global > Mobile SSO.
Environment: rules which environment the configuration will use, notice that we only can have one distinct environment per customer.
Logo: Full path to the customer logo which mobile application will show when employees are trying to log in via SSO.
Login Url: This is the full path to the customer identity provider service where employees should login using their identity provider’s credentials, this page is loaded when employee loads up customer SSO configuration in the mobile application and clicks “Log in“.
Redirect url: Should start with “https://quinyx.com/“ and can be ended with anything, customer name without spaces is fine.
Display: Not used for now.
Implementation: Choose appropriate value here according to the customer’s Identity provider.
Endpoint url: This is the endpoint url from Identity provider’s service which Quinyx backend will target to receive Access (Id) and Refresh tokens. This step is performed after the employee successfully logs in into Identity provider’s service defined under “Login Url“.
Client Id and Client Secret: These should be provided from the customer.
Idp field to match: Which field from the received Access or Id token we should use to compare it against Quinyx database in the employees table. This should be configured from customer’s Identity provider.
QWFM Field to match: Value that is taken from the “Idp field to match“ and is compared against database table column in the “employees” table in Quinyx database. Usually it is one of “email”, “loginId“, “badgeNo” or “cardNo“.
Idp token to use: By default it should be Access Token. In some specific configurations Id token is used.