# Docs: Error in device side authentication API for FetchJwtToken method?

**URL:** <https://hub.mender.io/t/docs-error-in-device-side-authentication-api-for-fetchjwttoken-method/4694>\
**Category:** General Discussions\
**Tags:** documentation\
**Created:** [February 28, 2022, 4:32pm UTC](https://hub.mender.io/t/docs-error-in-device-side-authentication-api-for-fetchjwttoken-method/4694 "2022-02-28T16:32:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![francoislefebvre](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/francoislefebvre/32/1238_2.png) [@francoislefebvre](https://hub.mender.io/u/francoislefebvre)\
**Post date:** [February 28, 2022, 4:32pm UTC](https://hub.mender.io/t/docs-error-in-device-side-authentication-api-for-fetchjwttoken-method/4694/1 "2022-02-28T16:32:59Z")

</div>

Hello,  
I was wondering if the information about a `FetchJwtToken` signal being sent after `FetchJwtToken` method is called is a mistake and should be replaced by a `JwtTokenStateChange` signal?

Ref: [Mender Authentication API v1 | Mender documentation](https://docs.mender.io/device-side-api/io.mender.authentication1)  
Sentence in `FetchJwtToken` section: “Instructs the Mender client to fetch the JWT token from the server. When the token is ready, a FetchJwtToken signal will be emitted.”

---

<div class="post-metadata">

**Author:** ![kacf](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/kacf/32/146_2.png) [@kacf](https://hub.mender.io/u/kacf)\
**Post date:** [March 1, 2022, 12:45pm UTC](https://hub.mender.io/t/docs-error-in-device-side-authentication-api-for-fetchjwttoken-method/4694/3 "2022-03-01T12:45:17Z")

</div>

Thanks, you are right, @francoislefebvre! I have corrected it [here](https://github.com/mendersoftware/mender/pull/945).
