•   over 6 years ago

Read Authorization status

1. When I use my app and get authentication token I go to app portal, check Authorization status and it says that user is not authorized. Is it because the portal doesn't know about new token or I need to do something else? I recall that I should confirm the token, is that right? What URI the confirmation should be sent?
2. What is URL to check Read Authorization status from my app?

  • 9 comments

  •   •   over 6 years ago

    I checked the status from my app and it says "1" which means it authorized. Do you inform your app from DC when it generates a new access token NOT from your app?

  •   •   over 6 years ago

    Can you please elaborate on your last post. The URL for checking authorizatoin status is

    https://greenbutton.affsys.com/ldc/api/v1/ReadAuthorizationStatus

  •   •   over 6 years ago

    When I make a call to https://greenbutton.affsys.com/ldc/api/v1/ReadAuthorizationStatus it says that status is "1". When I go to test lab app portal and check it there it says Not Authorized. I am getting access token from my mobile app. Does Data Custodian updates your App portal if my mobile app requests the token?

  •   •   over 6 years ago

    From what I see when I get a new authorization using my mobile app your app portal doen't know about it so it "thinks" that user is not authorized but I can actually get data using my access token and ReadAuthorizationStatus returns status 1. I don;t know if you want to fix this because on my device everything works but if I go to portal it says that I am not authorized.

  •   •   over 6 years ago

    An application is uniquely identified by its client_id and client_secret. When authorized, these values in combination with the access token provide the requisite parameters for data access. Are these values the same for your mobile application and for the corresponding application that you registered on the Portal?

  •   •   over 6 years ago

    Yes, they are

  •   •   over 6 years ago

    And are the access tokens the same?

  •   •   over 6 years ago

    Whos responsibility to keep them the same? If I request token from my mobile app is your app gets updated?

  •   •   over 6 years ago

    In a production system scenario, it is the vendor responsibility to share and synchronize the access tokens with the various instances of their applications which are authorized by the same Customer. Please see the note on this in Section 4.4 of the Reference Architecture document for more details.

Comments are closed.