# Authentication via Remote User Token

**URL:** <https://community.sonatype.com/t/authentication-via-remote-user-token/4666>\
**Category:** Sonatype Nexus Repository\
**Created:** [July 20, 2020, 5:56pm UTC](https://community.sonatype.com/t/authentication-via-remote-user-token/4666 "2020-07-20T17:56:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![matheuscg](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@matheuscg](https://community.sonatype.com/u/matheuscg)\
**Post date:** [July 20, 2020, 5:56pm UTC](https://community.sonatype.com/t/authentication-via-remote-user-token/4666/1 "2020-07-20T17:56:17Z")

</div>

My team is implementing the Nexus, and one of the requirements is to use a reversed proxy to authentication users. Until here it’s all fine, but I have some doubts about:

- Does Nexus can delegate the user session to this proxy. The proxy will control the login and logoff;
- Can I disable the login form, so the only login method will be via proxy;
- Can I include same header on Nexus response, or I have to do that via proxy
- How long the LDAP Cache is valid?

---

<div class="post-metadata">

**Author:** ![jgergel](https://yyz1.discourse-cdn.com/flex047/user_avatar/community.sonatype.com/jgergel/32/75_2.png) [@jgergel](https://community.sonatype.com/u/jgergel)\
**Post date:** [July 21, 2020, 4:10pm UTC](https://community.sonatype.com/t/authentication-via-remote-user-token/4666/2 "2020-07-21T16:10:12Z")

</div>

Hi Matheus,

Thanks for reaching out! I assume you are running a more recent version of Nexus Repository Manager 3. Have you tried using the Remote User Token (RUT) authentication options?

[User Authentication](https://help.sonatype.com/repomanager3/system-configuration/user-authentication) and [Remote Access Token](https://help.sonatype.com/repomanager3/system-configuration/user-authentication/authentication-via-remote-user-token)

In Nexus Repository Manager 3.22 Professional edition, support for SAML2.0 was introduced to help support single sign-on. [SAML](https://help.sonatype.com/repomanager3/system-configuration/user-authentication/saml) set up documentation.

Hope this helps, Cheers!
