Jump to content

Kappa0xc0035fd6

Members
  • Posts

    11
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by Kappa0xc0035fd6

  1. And is there any IPS app/plugin for it? Or just these external services?
  2. Hello guys, is there any alternative for Kevin Carwile's Automation Rules, which has the same (or similar) features and is working with actual version of IPS? Thank you!
  3. Hello, is there any IPS extension (autocomplete, snippets, "helpers", etc.) for VSCode, like The Dev Toolbox for PhpStorm? Thank you for info.
  4. Hello @Makoto. I got an error, when I try to rebuild Discussion Topics: Error: Call to a member function tags() on null (0) #0 /srv/http/ioselite.com/root/html/applications/core/extensions/core/Queue/ResyncTopicContent.php(84): IPS\downloads\radtags_hook_C_DownloadsFile->syncTopic() #1 /srv/http/ioselite.com/root/html/system/Task/Task.php(47): IPS\core\extensions\core\Queue\_ResyncTopicContent->run() #2 /srv/http/ioselite.com/root/html/applications/core/modules/admin/system/background.php(87): IPS\_Task::runQueue() #3 /srv/http/ioselite.com/root/html/system/Helpers/MultipleRedirect/MultipleRedirect.php(93): IPS\core\modules\admin\system\_background->IPS\core\modules\admin\system\{closure}() #4 /srv/http/ioselite.com/root/html/applications/core/modules/admin/system/background.php(136): IPS\Helpers\_MultipleRedirect->__construct() #5 /srv/http/ioselite.com/root/html/system/Dispatcher/Controller.php(90): IPS\core\modules\admin\system\_background->process() #6 /srv/http/ioselite.com/root/html/applications/core/modules/admin/system/background.php(42): IPS\Dispatcher\_Controller->execute() #7 /srv/http/ioselite.com/root/html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\admin\system\_background->execute() #8 /srv/http/ioselite.com/root/html/admin/index.php(13): IPS\_Dispatcher->run() #9 {main} Do you have an idea, what's wrong with it? It worked with IPS 4.6.10, but now in 4.6.11 it doesn't... Thank you!
  5. Hello, I'm looking for an extension for Downloads app, which would create "Request Update" button for every file, and when member clicks it, it'll show some notification in ACP (or even in some front-end interface, like it's in Kirill Gromov's Task Manager) that the file needs to be updated. Also maybe with feature of notifying member who clicked that "Request Update" button back, that the file was updated. Does anyone know, if there is some this-kind extension already available? Or would it be possible to create it? Thank you very much for answers/tips!
  6. Alright, that clears things up, thankyou. I got two more questions if you don't mind; I'm curious, why's secondary groups a clientapiresponse? I mean in the site groups are a big deal of permissions & now you can't retrieve all groups a member is in, which is basically what I need. And last question, how would I go about using the $otherFields? I see it should be a parameter, but I've tried some random fields & I don't see anything happening. Thanks for clearing things up and helping me out, appreciate it allot.
  7. Okay, but why does it has all those response objects with this note: “Only available when the request was made using an API key, or an oAuth Access Token obtained with the Client Credentials grant type” in this endpoint: https://invisioncommunity.com/developers/rest-api?endpoint=core/me/GETindex ? If those aren’t accesable?
  8. The full error code is as following: { "errorCode": "2S291/3", "errorMessage": "NO_PERMISSION" } Which means according to the rest api: "The API key does not have permission to access the requested endpoint." I don't think this really makes sense, as I don't use a API key to access this. Also, if I check over here: https://invisioncommunity.com/developers/rest-api?endpoint=core/me/GETindex It says: "This endpoint is only available for requests made using an OAuth Access Token for a particular member, not using an API Key or the Client Credentials Grant Type." and the response name "secondaryGroups" for example says the following: "Only available when the request was made using an API key, or an oAuth Access Token obtained with the Client Credentials grant type" I did use the access token obtained with the client_credentials as grant type, so to me it looks like this is a bug.
  9. Hello, I'm working on a oauth application, where I'm trying to retrieve information about the user that has logged in: https://invisioncommunity.com/developers/rest-api?endpoint=core/me/GETindex Currently, I get the information without they key icon in front of it. When I hover over the key icon, it says: "Only available when the request was made using an API key, or an oAuth Access Token obtained with the Client Credentials grant type" So I assumed I had to enable the option "Client Credentials" under "Available Grant Types", which I did. So what I do now is the following: 1. I send the user to: https://www.host.com/oauth/authorize/?response_type=code&client_id=CLIENT_ID&scope=profile 2. Get the code, and send a POST request to https://www.host.com/oauth/token/, with the following data: client_id : CLIENT_ID client_secret : CLIENT_SECRET code : CODE grant_type: client_credentials scope: profile Which returns: { "access_token": "ACCESS_TOKEN", "token_type": "bearer", "scope": "profile" } 3. Then I do a GET request to https://www.host.com/api/core/me with the bearer authorization, where I enter the retrieved access_token. Now I get a error: NO_PERMISSION Why do I get this? How will I able to access for example: secondaryGroups once the user authorized? Also, is it possible that Permissions can be set to allow only certain specific user groups to use the OAuth gateway?
  10. Hello, I'm working on a oauth application, where I'm trying to retrieve information about the user that has logged in: https://invisioncommunity.com/developers/rest-api?endpoint=core/me/GETindex Currently, I get the information without they key icon in front of it. When I hover over the key icon, it says: "Only available when the request was made using an API key, or an oAuth Access Token obtained with the Client Credentials grant type" So I assumed I had to enable the option "Client Credentials" under "Available Grant Types", which I did. So what I do now is the following: 1. I send the user to: https://www.host.com/oauth/authorize/?response_type=code&client_id=CLIENT_ID&scope=profile 2. Get the code, and send a POST request to https://www.host.com/oauth/token/, with the following data: client_id : CLIENT_ID client_secret : CLIENT_SECRET code : CODE grant_type: client_credentials scope: profile Which returns: { "access_token": "ACCESS_TOKEN", "token_type": "bearer", "scope": "profile" } 3. Then I do a GET request to https://www.host.com/api/core/me with the bearer authorization, where I enter the retrieved access_token. Now I get a error: NO_PERMISSION Why do I get this? How will I able to access for example: secondaryGroups once the user authorized?
×
×
  • Create New...