LOS Authentication
This topic provides information necessary for LOS authentication by Lender Price.
Lender Price Variables
The following variables/variable names are provided by Lender Price to be implemented by the Required LOS APIs for iFrame integration:
- Username:
lp_username - Password:
lp_password - Basic auth Key:
lp_basic_auth_key = RVhUX0xPUzpFWFRfUGFzc3dvcmQ=
LOS Variables
The following variables/variable names should be implemented by the LOS when developing their Required LOS APIs for iFrame integration:
-
User ID:
ext_user_idThis is the required User ID from the LOS client. This is not a Lender Price user name value.
This ID is necessary for Lender Price to access and retrieve user information from the LOS system and sync it locally with Lender Price data.
-
Loan ID:
ext_loan_idThis is the required Loan ID from the LOS client. This is not a Lender Price loan ID value.
This ID is necessary for Lender Price to access and retrieve loan information from the LOS system.
Environment Variables
The following environment variables are to be used:
- URL API:
lp_auth_api_url = ppe-stg-auth.cre8techdev.com - URL APP:
lp_app_url = https://ppe-stg-ext.cre8techdev.com/
Authentication Example
Sample Authentication Request:
curl --location 'https://[lp_auth_api_url]/oauth/token' \
--header 'Authorization: Basic [lp_basic_auth_key]' \
--form 'username="[lp_username]"' \
--form 'password="[lp_password]"' \
--form 'grant_type="password"' \
--form 'client_id="EXT_LOS"' \
--form 'ext_loan_id="[ext_loan_id]"' \
--form 'ext_user_id="[ext_user_id]"'
–form 'context'=string
Sample Authentication Response:
{
"access_token": string;
"token_type": "bearer";
"refresh_token": string;
"tinyAccessToken": string;
"Context": string;
}