# Authorize sits at pending URGENT

**URL:** <https://community.auth0.com/t/authorize-sits-at-pending-urgent/35830>\
**Category:** Get Help\
**Created:** [January 4, 2020, 7:21pm UTC](https://community.auth0.com/t/authorize-sits-at-pending-urgent/35830 "2020-01-04T19:21:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![stephen1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephen1/32/12715_2.png) [@stephen1](https://community.auth0.com/u/stephen1)\
**Post date:** [January 4, 2020, 7:21pm UTC](https://community.auth0.com/t/authorize-sits-at-pending-urgent/35830/1 "2020-01-04T19:21:06Z")

</div>

All of a sudden in the past 2 days I started getting auth0 to hang at pending on authorize. If I check the logs I can see that an account was successfully created, but for some reason this is happening despite any code changes. This is urgent as we were about to release our product. There have been no issues with our authentication for months/ nothing has been changed.

![Screen Shot 2020-01-04 at 12.16.10 PM](https://global.discourse-cdn.com/auth0/optimized/3X/8/c/8ca2b0aa9c1848c17d1a47bf9753a7d2780f5423_2_690x27.png)

(Also want to add that this happens basically every other time I signup)

---

<div class="post-metadata">

**Author:** ![stephen1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephen1/32/12715_2.png) [@stephen1](https://community.auth0.com/u/stephen1)\
**Post date:** [January 4, 2020, 8:07pm UTC](https://community.auth0.com/t/authorize-sits-at-pending-urgent/35830/2 "2020-01-04T20:07:51Z")

</div>

I am also getting the following warning:

> backend.js:6 Following parameters are not allowed on the `/authorize` endpoint: [user\_metadata]

However this states you can pass metadata:

> [@Can you pass user\_metadata in a call to Auth0.js signupAndLogin method?](http://community.auth0.com/t/can-you-pass-user-metadata-in-a-call-to-auth0-js-signupandlogin-method/6269):
>
> We are converting from using Lock to using a custom login with the Auth0.js Web SDK. With Lock, we’ve defined several custom fields (first name, last name, etc) that are mandatory for sign up. Is it possible to create the user’s account and pass in custom fields (via user\_metadata) in one single call? The signupAndLogin method only seems to take username/password, and I’d have to make a subsequent call to update the user’s profile, which would be tricky with a redirect in between.

And here is my signup function:

```
  const signUp = async (email, password, prepaid, discount) => {
    await new Promise(function (resolve, reject) {
      auth0Client.redirect.signupAndLogin({
        "connection": 'Username-Password-Authentication',
        "email": email,
        "password": password,
        "user_metadata": {"prepaid": `${prepaid}`, "discount": `${discount}`}
      }, (err) => {
        if (err) {
          if (err.code === "user_exists" || err.code === "username_exists") {
            setAuthError(["That name is already in our system. Login or try again?"])
          } else if (
            err.code === "password_dictionary_error" || err.code === "password_no_user_info_error"
          ) {
            setAuthError(["That password might be too easy to guess.", "Try something that's not a common word"])
          } else if (
            err.code === "password_strength_error"
          ) {
            setAuthError(["That password might be too easy to guess.", "(Did you include a number, capital letter and special character?)"])
          }
          else {
            console.log('Something went wrong: ' + err.code)
            setAuthError(["Hmm, that doesn't look right. Please try again."])
          }
          return reject(new Error(err.code))
        }
        else {
          setUser(getUser());
          setAuthenticated(true);
          console.log("finished sign up")
        }
      })
    });
  }

```

---

<div class="post-metadata">

**Author:** ![divyasmehta](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/divyasmehta/32/18886_2.png) [@divyasmehta](https://community.auth0.com/u/divyasmehta)\
**Post date:** [June 22, 2020, 2:26pm UTC](https://community.auth0.com/t/authorize-sits-at-pending-urgent/35830/3 "2020-06-22T14:26:19Z")

</div>

Were you able to find any solution? @stephen1  
I am facing this same issue.

---

<div class="post-metadata">

**Author:** ![divyasmehta](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/divyasmehta/32/18886_2.png) [@divyasmehta](https://community.auth0.com/u/divyasmehta)\
**Post date:** [June 22, 2020, 2:27pm UTC](https://community.auth0.com/t/authorize-sits-at-pending-urgent/35830/4 "2020-06-22T14:27:12Z")

</div>

@James.Morrison Hi James, Can you please help us with this?

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [June 22, 2020, 2:38pm UTC](https://community.auth0.com/t/authorize-sits-at-pending-urgent/35830/5 "2020-06-22T14:38:14Z")

</div>

Good morning @divyasmehta and @stephen1 👋

I apologize this wasn’t seen sooner. When you get a chance can you please snag me a HAR file capture of your login procedure which shows the challenge of where it hangs and then direct message it over to me along with your tenant name? I want to take a deeper look at what going on here. Thanks in advance!

> **[Generate and Analyze HAR Files](https://auth0.com/docs/troubleshoot/troubleshooting-tools/generate-and-analyze-har-files)**
>
> Learn how to troubleshoot with HAR files and steps to generate a HAR file.

---

<div class="post-metadata">

**Author:** ![stephen1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/stephen1/32/12715_2.png) [@stephen1](https://community.auth0.com/u/stephen1)\
**Post date:** [June 29, 2020, 4:09pm UTC](https://community.auth0.com/t/authorize-sits-at-pending-urgent/35830/7 "2020-06-29T16:09:50Z")

</div>

> [@James.Morrison](#):
>
> I apologize this wasn’t seen sooner. When you get a chance can you please snag me a HAR file capture of your login procedure which shows the challenge of where it hangs and then direct message it over to me along with your tenant name? I want to take a deeper look at what going on here. Thanks in advance!

Great thanks. I will send that over. I am still facing the issue and it’s now becoming a huge impediment to development.

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [July 13, 2020, 4:34pm UTC](https://community.auth0.com/t/authorize-sits-at-pending-urgent/35830/8 "2020-07-13T16:34:49Z")

</div>

Issue appears resolved from discussions in DM. No changes were made. We will keep this topic open for another two weeks just in case the challenge reoccurs. Thanks!

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [July 27, 2020, 8:35pm UTC](https://community.auth0.com/t/authorize-sits-at-pending-urgent/35830/9 "2020-07-27T20:35:54Z")

</div>

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