website logo
⌘K
Getting Started
Use Cases
Secure, Passwordless Login via Standard Protocols (OIDC, SAML2)
BlokSec for MFA / 2FA
Adding Passwordless Login to your In-House / Custom Application
BlokSec yuID Authenticator App
BlokSec Admin Console
FAQ's
Integrations
Microsoft 0365
Google Workspace
Salesforce
Dropbox
CyberArk Privileged Access Manager
IBM Security Verify
Custom OIDC
Custom SAML2
BlokSec SDK Integration (iOS)
Compatibility
Dependencies
Prerequisites
SDK Usage (Initialise)
New User Registration
Authentication
Account Association
Restore/Backup
API Reference
Docs powered by archbee 
1min

Authentication

When you choose to login using BlokSec, an authentication request is sent to the app with a request ID which can be used to fetch the request object from the API. The authentication request may be sent via push notification, email, or SMS.

Push Notification To complete authentication flow use below APIs in the sequence.

1. Get the request ID from the push notification Payload Email or SMS

In the case of Email or SMS, the user is given a URL with the domain https://bloksec.io/request/<requestID> which will be delegated to your app to handle as a deep link.

1. Extract <requestID> from the URL

After getting the request ID follow the below mentioned sequence of APIs to complete the authentication. 2. Use the request ID, to fetch the request details which could be displayed to the user and ask for the consent:

BlokSec.shared?.getAuthenticationRequest(...)

3. Send the user response to the BlokSec service

BlokSec.sendAuthenticationResponse(...)

Updated 03 Mar 2023
Did this page help you?
Yes
No
UP NEXT
Account Association
Docs powered by archbee