Decoding EdgeAuth tokens in the Portal
EdgeAuth tokens can be analyzed in the Portal via the Diagnose tab on a Channel or Room page. This can be used for any Phenix EdgeAuth tokens, whether created via the Portal or the EdgeAuth library.
Access the token decoding tab by clicking on a Channel or Room Name in the Channel or Room list.
![icon](/docs/images/828571717.png)
Click on the "Diagnose" option to the right, which will show the Diagnose page, which includes the EdgeAuth token analysis tool.
![edge auth token input](/docs/images/portal-debugToken.png)
Paste the token to be analyzed into the text box, including "DIGEST:". If the token is valid, the result will appear similar to the following image.
![edge auth token valid](/docs/images/portal-validToken.png)
If a token is not valid, the Portal will indicate that and will show details about the reason the token is not valid.
For example a missing Application ID:
![edge auth token not valid](/docs/images/portal-tokenNotValid.png)
Or an expired token:
![edge auth token expired](/docs/images/portal-tokenExpired.png)
If a token is valid but is for a different Application ID, the Portal will indicate the Application ID that was found as well as the Application ID that was expected:
![edge auth token expired](/docs/images/portal-tokenWrongAppId.png)