# Delegated Admin dashboard error : "secret or public key must be provided"

**URL:** <https://community.auth0.com/t/delegated-admin-dashboard-error-secret-or-public-key-must-be-provided/6415>\
**Category:** Get Help\
**Tags:** delegation, extension\
**Created:** [April 29, 2017, 1:46am UTC](https://community.auth0.com/t/delegated-admin-dashboard-error-secret-or-public-key-must-be-provided/6415 "2017-04-29T01:46:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![jessica.l4m](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jessica.l4m/32/7132_2.png) [@jessica.l4m](https://community.auth0.com/u/jessica.l4m)\
**Post date:** [April 29, 2017, 1:46am UTC](https://community.auth0.com/t/delegated-admin-dashboard-error-secret-or-public-key-must-be-provided/6415/1 "2017-04-29T01:46:37Z")

</div>

We are testing out the delegated administration dashboard extension and after following the steps in setup I’m getting  
“Oh snap! You got an error!  
An error occurred while retrieving list of users: secret or public key must be provided”

I double checked the settings for the extension and everything is filled in. Any help would be much appreciated.

---

<div class="post-metadata">

**Author:** ![jmangelo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jmangelo/32/7923_2.png) [@jmangelo](https://community.auth0.com/u/jmangelo)\
**Post date:** [May 5, 2017, 6:08pm UTC](https://community.auth0.com/t/delegated-admin-dashboard-error-secret-or-public-key-must-be-provided/6415/2 "2017-05-05T18:08:06Z")

</div>

Have you configured any hooks within the extension?

---

<div class="post-metadata">

**Author:** ![jessica](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jessica/32/7157_2.png) [@jessica](https://community.auth0.com/u/jessica)\
**Post date:** [May 10, 2017, 2:55am UTC](https://community.auth0.com/t/delegated-admin-dashboard-error-secret-or-public-key-must-be-provided/6415/3 "2017-05-10T02:55:52Z")

</div>

No I have not, I just went through the basic setup and tried to get a list of users. [Delegated Administration Extension v3](https://auth0.com/docs/extensions/delegated-admin)

---

<div class="post-metadata">

**Author:** ![bill](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bill/32/25890_2.png) [@bill](https://community.auth0.com/u/bill)\
**Post date:** [June 3, 2017, 12:34am UTC](https://community.auth0.com/t/delegated-admin-dashboard-error-secret-or-public-key-must-be-provided/6415/4 "2017-06-03T00:34:19Z")

</div>

Where you able to figure out why this happened? I am experiencing the same thing.

---

<div class="post-metadata">

**Author:** ![bill](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bill/32/25890_2.png) [@bill](https://community.auth0.com/u/bill)\
**Post date:** [June 3, 2017, 12:37am UTC](https://community.auth0.com/t/delegated-admin-dashboard-error-secret-or-public-key-must-be-provided/6415/5 "2017-06-03T00:37:47Z")

</div>

Never mind. If you experience this error it is most likely because you missed a step in the instructions, specifically changing the JWT Signature Algorithm. At least that was my issue.

---

<div class="post-metadata">

**Author:** ![vikramhn](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@vikramhn](https://community.auth0.com/u/vikramhn)\
**Post date:** [December 3, 2017, 12:17am UTC](https://community.auth0.com/t/delegated-admin-dashboard-error-secret-or-public-key-must-be-provided/6415/6 "2017-12-03T00:17:13Z")

</div>

I had the same error message - ionic 2 - api code complained - secret or public key must be provided I found that the issue was- the bearer token was sent with doublequotes Bearer “dssnjdskiei…” my original code that was causing this was ‘Authorization’, ‘Bearer ’ + window.localStorage’access\_token’] had to change the above line to 'Bearer ‘+ JSON.parse(window.localStorage’access\_token’]) JSON.parse removed the double quotes and it worked

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:53am UTC](https://community.auth0.com/t/delegated-admin-dashboard-error-secret-or-public-key-must-be-provided/6415/7 "2018-03-02T05:53:35Z")

</div>


