# Use Admin API with adminAuth type strategy

**URL:** <https://discourse.nodered.org/t/use-admin-api-with-adminauth-type-strategy/21719>\
**Category:** Feature Requests\
**Created:** [14 February 2020 18:55 UTC](https://discourse.nodered.org/t/use-admin-api-with-adminauth-type-strategy/21719 "2020-02-14T18:55:08Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [14 February 2020 19:16 UTC](https://discourse.nodered.org/t/use-admin-api-with-adminauth-type-strategy/21719/2 "2020-02-14T19:16:00Z")

</div>

There is some work happening at the moment to address this.

The current proposal is to all `adminAuth` to provide a custom `tokens` function that can be used to validate any Auth token that isn't recognised as one NR generated itself.

That would then allow you to create an admin-only Auth token that can be used independently of the main oauth login scheme.

I hope there will be a design note or PR that I can link in the near future.

---

_[View the full topic](https://discourse.nodered.org/t/use-admin-api-with-adminauth-type-strategy/21719)._
