@itentialopensource/adapter-adtran_mosaic_cloud_platform
Version:
This adapter integrates with system described as: ADTRAN® Mosaic Cloud Platform (Mosaic CP).
54 lines (47 loc) • 2.86 kB
Markdown
This document will go through the steps for authenticating the Adtran Mosaic Cloud Platform adapter with Two Step Session Token Authentication. Adtran Mosaic Cloud Platform can also be authenticated using Basic Authentication. Properly configuring the properties for an adapter in Itential Platform is critical for getting the adapter online. You can read more about adapter authentication <a href="https://docs.itential.com/opensource/docs/authentication" target="_blank">HERE</a>.
The Adtran Mosaic Cloud Platform adapter requires Two Step Token Authentication. If you change authentication methods, you should change this section accordingly and merge it back into the adapter repository.
STEPS
1. Ensure you have access to a Adtran Mosaic Cloud Platform server and that it is running
2. Follow the steps in the README.md to import the adapter into Itential Platform if you have not already done so
3. Use the properties below for the ```properties.authentication``` field
```json
"authentication": {
"auth_method": "request_token",
"username": "<username>",
"password": "<password>",
"token_timeout": 1800000,
"token_cache": "local",
"invalid_token_error": 401,
"auth_field": "header.headers.Authorization",
"auth_field_format": "Bearer {token}"
}
```
4. Restart the adapter. If your properties were set correctly, the adapter should go online.
The Adtran Mosaic Cloud Platform adapter authenticates with a basic authentication.
STEPS
1. Ensure you have access to a Adtran Mosaic Cloud Platform server and that it is running
2. Follow the steps in the README.md to import the adapter into Itential Platform if you have not already done so
3. Use the properties below for the ```properties.authentication``` field
```json
"authentication": {
"auth_method": "basic user_password",
"username": "<your username>",
"password": "<your password>",
"auth_field": "header.headers.Authorization",
"auth_field_format": "Basic {b64}{username}:{password}{/b64}",
"auth_logging": false
}
```
- Make sure you copied over the correct credentials.
- Turn on debug level logs for the adapter in Itential Platform Admin Essentials.
- Turn on auth_logging for the adapter in Itential Platform Admin Essentials (adapter properties).
- Investigate the logs - in particular:
- The FULL REQUEST log to make sure the proper headers are being sent with the request.
- The FULL BODY log to make sure the payload is accurate.
- The CALL RETURN log to see what the other system is telling us.
- Credentials should be ** masked ** by the adapter so make sure you verify token
- Remember when you are done to turn auth_logging off as you do not want to log credentials.