# Npm token enable

**URL:** <https://community.sonatype.com/t/npm-token-enable/2605>\
**Category:** Sonatype Nexus Repository\
**Created:** [September 30, 2019, 3:06pm UTC](https://community.sonatype.com/t/npm-token-enable/2605 "2019-09-30T15:06:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yann.cophy](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/yann.cophy/32/865_2.png) [@yann.cophy](https://community.sonatype.com/u/yann.cophy)\
**Post date:** [September 30, 2019, 3:06pm UTC](https://community.sonatype.com/t/npm-token-enable/2605/1 "2019-09-30T15:06:30Z")

</div>

Hello

We are using OSS v3 and we would like to enable npm tokens for users , instead of using static credentials

we enabled NPM bearer token realm , but when user try to generate they have an error message ( code _EAUTHUNKNOWN_)

verbose stack Error: Unable to authenticate, need: Basic, Bearer

any idea what i should change in my configuraation ?

Thanks  
John
