Requirements:
You have to sign in to Bezala as a Manager to edit Company settings.
Configuration Steps for web app
On Okta
Go to Your Okta Org Admin
Go to Applications Section
Click Add Application and find Bezala app there
Edit Application label if needed and click Done
Note Credentials under the Sign On section - you'll need it later
On Bezala
Login to Bezala web UI as a Manager to Bezala
Click on a hamburger button in the top left corner to open collapsed menu or scroll down a bit if you are on a wider screen and see menu already
Under the Company Settings section click Company, to open Company Settings form
4. Scroll down to Okta Settings section and click on Click to edit Okta sign-in settings
button.
Wait for Okta settings to load
5. Enter your Okta Client ID and Okta Client Secret, which are found in Okta app settings "Client Credentials" section we mentioned before.
And Okta Issuer URL which is your Okta Org URL
6. Click Save
button to save Company settings
Now your Okta users added to Bezala app on Okta can log in to Bezala using Okta credentials (assuming those users have an account in Bezala with the same email).
Okta sign-in can be used both from the Login page and Self sign-up form.
On the Login page just click the Okta button and enter the Company name you want to sign in to:
On the Self sign-up form simply click the Okta button:
Notes
Please, make sure you've added users to Bezala app on Okta below the Assignments section. Those users should have an account in Bezala with the same emails.
Example Okta credentials:
Okta setup for mobile app
1. Create admin account https://developer.okta.com/signup/
This will allow us to create an application and to onboard users to our Okta admin dashboard https://developer.okta.com/login/
2. Go to Application and select “Create App integration”
3. Choose OIDC - OpenID Connect and Native Application
4. Fill in app name and select ‘Refresh Token’
5. This part is Okta url: https://dev-xxxxxx.octa.com (will be used in Bezala admin company settings)
6. Fill in sign in and sign out URL com.milkpluschocolate.receiptcam:/ or com.milkpluschocolate.receiptcam.staging:/ or com.milkpluschocolate.receiptcam.mepco:/
7. Save form
8. Client Id will be used in Bezala admin Company settings
Then you need to add users to Okta and assign them to created App
1.Go to Directory -> People -> press ‘add person’
2.Fill all needed info
3.Press on new created user and assign him to Okta app
New user would need to create new password for his account