# Can't login after upgrading Auth0 Authorization Extention from 2.4 to 2.6

**URL:** <https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [February 3, 2020, 9:27am UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266 "2020-02-03T09:27:31Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeffeld](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jeffeld/32/12681_2.png) [@jeffeld](https://community.auth0.com/u/jeffeld)\
**Post date:** [February 3, 2020, 9:27am UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/1 "2020-02-03T09:27:31Z")

</div>

As per the email “Update Your Auth0 Extensions for SameSite” that went out over the weekend, users can not log in anymore after I updated the Auth0 Authorization Extention from 2.4 to 2.6.

Logs show plenty of “Failed Login” events with “Authorization Extension: Invalid API Key” which is pretty self-descriptive, but I’m not sure what else I’m supposed to update.

What have I missed? Any pointer appreciated.

Many thanks

---

<div class="post-metadata">

**Author:** ![jeffeld](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jeffeld/32/12681_2.png) [@jeffeld](https://community.auth0.com/u/jeffeld)\
**Post date:** [February 3, 2020, 3:42pm UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/2 "2020-02-03T15:42:03Z")

</div>

I’ve just created a fresh tenant and am getting the same error. Something does seem to be wrong with the Authorization Extention.

---

<div class="post-metadata">

**Author:** ![jeffeld](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/jeffeld/32/12681_2.png) [@jeffeld](https://community.auth0.com/u/jeffeld)\
**Post date:** [February 3, 2020, 9:44pm UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/3 "2020-02-03T21:44:18Z")

</div>

I’d really appreciate a comment from an Auth0 representative. My site is down after following your upgrade instructions.

---

<div class="post-metadata">

**Author:** ![umut.benzer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/umut.benzer/32/19026_2.png) [@umut.benzer](https://community.auth0.com/u/umut.benzer)\
**Post date:** [February 3, 2020, 10:11pm UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/4 "2020-02-03T22:11:26Z")

</div>

Hi @jeffeld,

What is the name of your tenant and the name of new tenant you tried 2.6? Feel free to private message me if that suits you better.

Also, can you try rotating the api key and republishing the rule on the authz-extension’s configuration page?

---

<div class="post-metadata">

**Author:** ![mwess](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mwess/32/13061_2.png) [@mwess](https://community.auth0.com/u/mwess)\
**Post date:** [February 4, 2020, 11:01am UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/5 "2020-02-04T11:01:44Z")

</div>

Hi there,  
I want to update from 2.4 to 2.6 as well. What are the necessary steps after updating the extension?

Rotating the api key and republishing the rule on the authz-extension’s configuration page or what is doing the trick?

---

<div class="post-metadata">

**Author:** ![sam.cumming](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sam.cumming/32/18909_2.png) [@sam.cumming](https://community.auth0.com/u/sam.cumming)\
**Post date:** [February 4, 2020, 11:48am UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/6 "2020-02-04T11:48:04Z")

</div>

Hi @umut.benzer ,

I am also having the same issue after updating to 2.6 on one of our testing environments. Another one of our testing environments we have not yet update, and are not experiencing any problems.

We have noticed that the users on the environment that is still working have groups, roles and permissions assigned to them.

But users on the environment that is not working only have groups, but not roles or permissions.

Please let me know if this is a bug on your side, or if there is anything we need to do to update.

Thanks

---

<div class="post-metadata">

**Author:** ![sam.cumming](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sam.cumming/32/18909_2.png) [@sam.cumming](https://community.auth0.com/u/sam.cumming)\
**Post date:** [February 4, 2020, 12:33pm UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/7 "2020-02-04T12:33:14Z")

</div>

Recreating the Auth0 Authorization extension rule fixed this for us.

Also, it looks like from the changelog ([auth0-authorization-extension/CHANGELOG.md at master · auth0/auth0-authorization-extension · GitHub](https://github.com/auth0/auth0-authorization-extension/blob/master/CHANGELOG.md)) that the sameSite changes are implemented in version 2.7, but i was only able to update to version 2.6.

---

<div class="post-metadata">

**Author:** ![umut.benzer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/umut.benzer/32/19026_2.png) [@umut.benzer](https://community.auth0.com/u/umut.benzer)\
**Post date:** [February 5, 2020, 10:19am UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/8 "2020-02-05T10:19:31Z")

</div>

Hi @sam.cumming,

We delayed releasing 2.7 to new enrollments temporarily as we got some reports from customers that we wanted to investigate first. We’ll continue releasing a version with SameSite changes included in the upcoming days.

Once we complete the release, changelog and the versions available will match each other. 🙂

Hi @mwess,

We updated our documentation to have instructions to upgrade from a version \<2.6 to a version \>2.6. You can reach it [here](https://auth0.com/docs/extensions/authorization-extension/v2).

I suggest to test this, and any similar change in general, on a test tenant before applying on production.

Have a nice day all! 🌞

---

<div class="post-metadata">

**Author:** ![bwrightson](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/bwrightson/32/19008_2.png) [@bwrightson](https://community.auth0.com/u/bwrightson)\
**Post date:** [February 6, 2020, 9:12pm UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/9 "2020-02-06T21:12:24Z")

</div>

Hi @umut.benzer,

We’re having this issue as well. We upgraded from 1.x (not sure exactly which version) to 2.8 and then our users started getting a blank page when they log in to our application. I rotated the API key as described, but still all of the user logins fail like this:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/b/ebfa0ea0261296eac92e998930c3096a160ff4ac.png)

Any help would be appreciated. Thanks!

---

<div class="post-metadata">

**Author:** ![umut.benzer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/umut.benzer/32/19026_2.png) [@umut.benzer](https://community.auth0.com/u/umut.benzer)\
**Post date:** [February 7, 2020, 11:53am UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/10 "2020-02-07T11:53:43Z")

</div>

🤔

Can you describe how you use the authorization extension in your rules?

Also, capturing real time logs from webstask while running rules could help to gather a lead that could pinpoint the issue.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/a/6/a68733a3390ba31ced7fdf06cbbbdd97b6b6bde3.png)

Also, if possible can you share your tenant name and region? Feel free to send as private message, if you prefer doing so. 🙂

---

<div class="post-metadata">

**Author:** ![mwess](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mwess/32/13061_2.png) [@mwess](https://community.auth0.com/u/mwess)\
**Post date:** [February 7, 2020, 3:43pm UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/11 "2020-02-07T15:43:28Z")

</div>

Updated from 2.4. to 2.8 (2.6 was not available anymore). Did the steps in documentation and we can not login anymore. Please advise what changed and what we can do.

---

<div class="post-metadata">

**Author:** ![umut.benzer](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/umut.benzer/32/19026_2.png) [@umut.benzer](https://community.auth0.com/u/umut.benzer)\
**Post date:** [February 10, 2020, 11:50am UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/12 "2020-02-10T11:50:51Z")

</div>

Hi @mwess, 👋

What is the name of your tenant and region? Feel free to private message me if that suits you better.

In addition to this, can you check the rules you have? The name of the rule published by the extension is `auth0-authorization-extension`. If you see any other rules, such as `auth0-authz` or others that you don’t recognize, can you try disabling it?

Please note that changing the order or the rules and/or disabling them might change the authorization responses, depending on the context of the rule, so please be careful not to give access to people that shouldn’t have in the progress.

If this doesn’t solve your problem, I would appreciate if you send me the real time logs captured by `Real-time Webtask Logs`. (screenshotted in the previous message)

---

<div class="post-metadata">

**Author:** ![mwess](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mwess/32/13061_2.png) [@mwess](https://community.auth0.com/u/mwess)\
**Post date:** [February 11, 2020, 8:26am UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/13 "2020-02-11T08:26:25Z")

</div>

@umut.benzer Thanks for your message 👋

We had an old URL in our rules. After the change it worked.  
Cheers!

---

<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 11, 2020, 9:01am UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/14 "2020-02-11T09:01:18Z")

</div>

Glad you have it working and thanks for sharing it with the rest of community @mwess!

---

<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:** [February 26, 2020, 9:01am UTC](https://community.auth0.com/t/cant-login-after-upgrading-auth0-authorization-extention-from-2-4-to-2-6/37266/15 "2020-02-26T09:01:20Z")

</div>

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