Auth0 Home Blog Docs

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

delegation
extension

#1

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.


#2

Have you configured any hooks within the extension?


#3

No I have not, I just went through the basic setup and tried to get a list of users. https://auth0.com/docs/extensions/delegated-admin


#4

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


#5

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.


#6

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


#7