Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. COI almost agree with your suggestion, but with a restriction: how the webapp can send the openid credentials to the api ? The api must ensure that these credentials are valid for a specific user, it cannot only **trust** the webapp because other application will also be able to connect to the api and could steal the identity of a user. The possible idea would be to send the response of the openid server to the API, including the assoc_handle key and then, the API server would request (again) the openid provider to check the "is_valid:true" and match the user in the db. Am I correct ?
      singulars
    2. CONo(t entirely). You have to make the distinction between an API which acts as the unified layer between the outside world and your data(base). You could do what you suggested, but that would essentially mean to integrate an app within the API (which could be alright with you, though). As for **trust**, you could easily use public-key encryption and signing to make sure that only your (or approved) app accesses/changes the *sensitive* data. Besides, the OpenID credentials are *just* the URL -- which you assoc with the user. I suppose the user must be logged in to set this assoc, so: no problem.
      singulars
    3. COWhen you said "signing", you mean between what ? the app and the api ? the user and the api ? the user and the app ? I see how to identify the user for the app (with openid, like you said), but I can't see exactly how the api can trust the app about which user is using the api. You could easily create an app that connect to my api and fake the identity of a specific user in order to get their data. I need to be sure your app is respectful and which user is using it for sure, even in the api. That what I'm missing and can't understand clearly :(
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload