Forum Discussion
Dave_Noonan
Jan 10, 2020Cirrus
API Token Length
We've got four Big-IP pairs, two running 11.6.1 and two running 12.1.3.2. When we connect to the API we get a token in the response but the they're different lengths. The 11.6.1 Big-IPs return a 12...
NUT2889
Cirrostratus
Which API you mention on BIG-IP?
Dave_Noonan
Jan 13, 2020Cirrus
Per the instructions here: Authentication and Authorization
I'm hitting /mgmt/shared/authn/login. The code and returned tokens are shown below. Only difference is length.
curl --location --request POST 'https://v11_6_1-Big-IP/mgmt/shared/authn/login' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic 'xxxxxxxxxxxxxxxxxxxxxxxx' \
--data-raw '{
"username":"USER",
"password":"PASSWORD",
"loginProviderName":"tmos"
}'
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
curl --location --request POST 'https://v12_1_3_2-Big-IP/mgmt/shared/authn/login' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxx' \
--data-raw '{
"username":"USER",
"password":"PASSWORD",
"loginProviderName":"tmos"
}'
XXXXXXXXXXXXXXXXXXXXXXXXXX
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects