Base64Url Error when Authenticating the vSphere Plugin with Pure1

Troubleshooting for VMware Solutions

Audience
Public
Source Type
Documentation

When authenticating the vSphere Plugin version 4.2.1 or later with Pure1, there is an error reported when you click Authenticate:

Error validating token.

Invalid issuer: JWT validation failed.

Illegal base64url character: ' '

This is due to line breaks being copied into the window when the JWT was copy/pasted in.

Workaround

To workaround this issue, copy the JWT to a simple text editor like Windows Notepad:

Then go to the end of each line and type Delete on your keyboard to pull the next line up to the top. Repeat this until all lines are on a single line.

Then copy and paste the JWT back into the vSphere Plugin and click Authenticate.

We are working on removing this problem by automatically removing any new lines that we see. Once completed this article will be updated.