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.

Oauth Client Credentials + @apiclientonly

Featured Replies

Posted

If the method is commented to have @apiclientonly in the docblock, instead of denying only  OAuth Access Token use, it denies any use other than API key. 

This is directly counter the documentation: https://invisioncommunity.com/developers/rest-api?endpoint=core/members/POSTindex

On the surface, the problem seems to be that such methods are not actually available to be granted permissions in the scopes selection form in the ACP for Oauth Client Credentials.

I can't imagine this is intended given the documentation and code. I would appreciate it if this could be looked into, thank you. It is vastly preferred to use the security superior oauth for such work.

Edited by Marcher Technologies

What's the error you're getting?

  • Author
{
"errorCode": "2S291\/3",
"errorMessage": "NO_PERMISSION"
}

To note, Other calls to endpoints actually listed in the scopes tab for oAuth Client config work:

image.png.7d7a8badfe5f4972192551665f491aa1.png

The same for an API Key:

image.thumb.png.779f5381b99f0d91b6de90b7aae5fa64.png

Note the missing endpoints in the former's case. I suspect this to be the root cause.

Edited by Marcher Technologies

We'll take a look, thanks

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.