Aria Automation Config 8.12 SAML authentication fails and redirects to login page.
search cancel

Aria Automation Config 8.12 SAML authentication fails and redirects to login page.

book

Article ID: 314834

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • Aria Automation Config 8.12 SAML authentication fails and redirects to login page.
  • The raas logfile located under /var/log/raas/raas contain errors similar to:
2023-07-11 10:46:28,904 [raas.utils.claims ][ERROR :206 ][Webserver:23] _jwt_decode: Not enough segments
Traceback (most recent call last):
File "jwt/api_jws.py", line 190, in _load
signing_input, crypto_segment = jwt.rsplit(b".", 1)
ValueError: not enough values to unpack (expected 2, got 1)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "raas/utils/claims.py", line 69, in _jwt_decode
data = jwt.decode(
File "jwt/api_jwt.py", line 119, in decode
decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
File "jwt/api_jwt.py", line 90, in decode_complete
decoded = api_jws.decode_complete(
File "jwt/api_jws.py", line 149, in decode_complete
payload, signing_input, header, signature = self._load(jwt)
File "jwt/api_jws.py", line 193, in _load
raise DecodeError("Not enough segments") from err
jwt.exceptions.DecodeError: Not enough segments
2023-07-11 10:46:28,905 [raas.utils.rest ][DEBUG :206 ][Webserver:23] Authentication failed: Failed to decode token claims
2023-07-11 10:46:28,905 [raas.utils.claims ][ERROR :206 ][Webserver:23] _jwt_decode: Not enough segments
Traceback (most recent call last):
File "jwt/api_jws.py", line 190, in _load
signing_input, crypto_segment = jwt.rsplit(b".", 1)
ValueError: not enough values to unpack (expected 2, got 1)


Environment

VMware Aria Automation Config 8.12.x

Resolution

The issue is resolved in the Aria Automation Config 8.13 release