Jump to content
View in the app

A better way to browse. Learn more.

Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

OAuth2 Login Problem

Featured Replies

I'm trying to add a new OAuth2 login handler using Auth0.

The first time I sign in using Auth0, it either creates a new account, or links connected accounts. This works fine.

The problem I'm experiencing is when I try to sign in for a second time. Upon being redirected back to my Invision Community, I get an error message saying that the email has already been taken.

    "error": {
      "message": "{\"errors\":{\"email\":[\"has already been taken\"]}}",
      "oauthError": "access_denied",
      "type": "oauth-authorization"
    },

For reference, we have two login methods active: Standard and Auth0. This error happens for both pre-existing and newly created accounts.

How can I fix this so that users will be able to login with their credentials from our Auth0 app?

  • Author

I'm redirected to this URL from my Auth0 login/authorization page: https://mysite.com/forums/login/?_processLogin=10&csrfKey=XXX&ref=XXX&error=access_denied&error_description={"errors":{"email":["has already been taken"]}}

Rather than an Invision Community error page, I'm just shown the login page. Invision Community is not logging any errors.

That sounds like the OAuth provider (Auth0) is throwing the error. You may need to look through their documentation or reach out to them for clarity.

  • Author
On 6/30/2020 at 2:17 PM, bfarber said:

That sounds like the OAuth provider (Auth0) is throwing the error. You may need to look through their documentation or reach out to them for clarity.

Turns out it was a problem with a plugin in Auth0 and I've managed to fix it. Cheers!

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.