# Errors when setting up Authorization Extensions

**URL:** <https://community.auth0.com/t/errors-when-setting-up-authorization-extensions/21310>\
**Category:** Get Help\
**Created:** [February 14, 2019, 10:50am UTC](https://community.auth0.com/t/errors-when-setting-up-authorization-extensions/21310 "2019-02-14T10:50:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bangoyomi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bangoyomi/32/11033_2.png) [@bangoyomi](https://community.auth0.com/u/bangoyomi)\
**Post date:** [February 14, 2019, 10:50am UTC](https://community.auth0.com/t/errors-when-setting-up-authorization-extensions/21310/1 "2019-02-14T10:50:18Z")

</div>

I am currently trialing Auth0, with the intention of using it to manage users, groups and permissions within a web app. I added the extension on the web portal, but have not been able to complete the configuration. I get access denied messages when I try to publish a rule. I then get the following error when attempting to authenticate using the MVC sample application.

**“OpenIdConnectMessage.Error was not null, indicating an error. Error: ‘unauthorized’. Error\_Description (may be empty): ‘Authorization Extension: Invalid API Key’. Error\_Uri (may be empty): ‘’.”**

How do I get the rule published, and an API Key generated. See attached images for error details

 ![ConfigurationPage](https://global.discourse-cdn.com/auth0/original/2X/c/cb06bfb97233b8be86196d65e2d17d0f6aea3bba.png) ![SettingsToSubmit](https://global.discourse-cdn.com/auth0/original/2X/6/68bd1507edbe7874ee0d2df59100ded1bad8a064.png) ![SubmitFailed](https://global.discourse-cdn.com/auth0/original/2X/b/b508b77eec6dc7002df0bc09ae0f705a9ddc0e3a.png)

---

<div class="post-metadata">

**Author:** ![nicolas\_sabena](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nicolas_sabena/32/6064_2.png) [@nicolas\_sabena](https://community.auth0.com/u/nicolas_sabena)\
**Post date:** [February 16, 2019, 9:54pm UTC](https://community.auth0.com/t/errors-when-setting-up-authorization-extensions/21310/2 "2019-02-16T21:54:27Z")

</div>

Can you try logging out of the dashboard, close the extension’s tab and logging in again, and then try to publish the rule?

---

<div class="post-metadata">

**Author:** ![bangoyomi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bangoyomi/32/11033_2.png) [@bangoyomi](https://community.auth0.com/u/bangoyomi)\
**Post date:** [February 18, 2019, 11:53am UTC](https://community.auth0.com/t/errors-when-setting-up-authorization-extensions/21310/3 "2019-02-18T11:53:22Z")

</div>

Hi ,

I have tried that. I have also tried uninstalling and reinstalling the extension, and that hasnt worked either.

---

<div class="post-metadata">

**Author:** ![bangoyomi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bangoyomi/32/11033_2.png) [@bangoyomi](https://community.auth0.com/u/bangoyomi)\
**Post date:** [February 19, 2019, 10:47am UTC](https://community.auth0.com/t/errors-when-setting-up-authorization-extensions/21310/4 "2019-02-19T10:47:50Z")

</div>

Looks like the issue was with my S3 configuration. Now sorted. Thanks.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [February 19, 2019, 12:14pm UTC](https://community.auth0.com/t/errors-when-setting-up-authorization-extensions/21310/5 "2019-02-19T12:14:52Z")

</div>

Glad you were able to make it work in the end!

---

<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 6, 2019, 12:14pm UTC](https://community.auth0.com/t/errors-when-setting-up-authorization-extensions/21310/6 "2019-03-06T12:14:54Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
