Jump to content

THE_SUPERMAN

Clients
  • Posts

    27
  • 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

Posts posted by THE_SUPERMAN

  1. I am getting this error when I try to get an access_token from the IPS oAuth server:

    {
        "name": "AuthorizationError",
        "code": "invalid_scope",
        "status": 500
    }

    I didn't find any official documentation on this and it would be great if someone gave me the link. The URL I'm requesting for is this (confidential data has been hidden with XXX-XXX😞

    https://example.com/oauth/authorize?response_type=code&redirect_uri=example.com&scope=authorization_code&client_id=XXX-XXX

     

    Screenshot_172.thumb.png.e213a12315e8030bac8af035d48586f9.png

    What am I doing wrong?

  2. Hi,

    I enabled the option in IPS to log in using a third-party OAuth client.
    I would like to obtain that user's ID in this third-party OAuth that was used by a particular user to log in. Which API endpoint should I use?

    When I make a GET request for this endpoint https://example.com/api/core/members/1?key=example-key

    I get this result(confidential data has been hidden with "XXX-XXX"):

    {
        "id": 1,
        "name": "FNTWORK",
        "title": "",
        "timeZone": "America/Sao_Paulo",
        "formattedName": "FNTWORK",
        "primaryGroup": {
            "id": 4,
            "name": "Gerente",
            "formattedName": "Gerente"
        },
        "secondaryGroups": [],
        "email": "XXX-XXX@gmail.com",
        "joined": "2020-07-07T05:10:17Z",
        "registrationIpAddress": "XXX-XXX",
        "warningPoints": 0,
        "reputationPoints": 46,
        "photoUrl": "XXX-XXX",
        "photoUrlIsDefault": false,
        "coverPhotoUrl": "XXX-XXX",
        "profileUrl": "XXX-XXX",
        "validating": false,
        "posts": 103,
        "lastActivity": "2020-12-18T12:31:10Z",
        "lastVisit": "2020-12-18T10:09:53Z",
        "lastPost": "2020-12-17T06:21:32Z",
        "birthday": null,
        "profileViews": 585,
        "customFields": {
            "1": {
                "name": "Informações pessoais",
                "fields": {
                    "6": {
                        "name": "Nome completo",
                        "value": "XXX-XXX"
                    },
                    "4": {
                        "name": "Sobre mim",
                        "value": null
                    },
                    "5": {
                        "name": "Telefone",
                        "value": null
                    },
                    "7": {
                        "name": "WhatsApp",
                        "value": null
                    },
                    "8": {
                        "name": "Telegram",
                        "value": null
                    },
                    "9": {
                        "name": "Facebook",
                        "value": null
                    }
                }
            },
            "3": {
                "name": "Mercado Livre",
                "fields": {
                    "10": {
                        "name": "Conta associada a esse usuário no Mercado Livre",
                        "value": null
                    }
                }
            }
        }
    }

     

    Screenshot_170.png

×
×
  • Create New...