Forum Discussion
zzhang39
Jun 22, 2024Altostratus
Error in REST https call to get the Auth token v15.1.8
Hi All, We upgraded F5 on May 18,2024 from v12.1.3 to v15.1.8 we trying to get auth token from /mgmt/shared/authn/login But getting 401 error, please find the detailed error message. Can any one...
zzhang39
Jun 24, 2024Altostratus
Here's the scipt which works at 12.1.3, we do use loginProviderName toms.
Can you advice where to check "/var/log/restjavad.0.log"?
F5url="https://<example.com>/mgmt/shared/authn/login"
response=$(curl -X POST $F5url \
-H "Content-Type: application/json" \
-d "{
\"username\": \"$username\",
\"password\": \"$password\",
\"loginProviderName\": \"tmos\"
}" -k -s)
echo "Response from server:"
echo "$response"
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