Start a new topic
Answered

Access collection without authorization

Hello i wonder can i pull collection from kinvey and render it on my home page without any authentication/authorization. Every time give me a response 401 Unauthorized. Any suggestions? Thanks in advance!


Best Answer

Andon,


All backend API calls are made with the credentials of the active user, enforcing the corresponding access control. You can not pull a collection from Kinvey without authentication/ authorization. Every request to an app backend on Kinvey, made by one of our mobile SDKs or another client, is associated with a security context. Kinvey uses this context to determine whether the user making the request is:  

  • Who they say they are -- The user is authenticated using their credentials
  • Allowed to do what they're trying to do -- The user is authorized to act on the resource in the manner specified


Let me know if you have more questions.


Thanks,

Pranav

Kinvey

1 Comment

Answer

Andon,


All backend API calls are made with the credentials of the active user, enforcing the corresponding access control. You can not pull a collection from Kinvey without authentication/ authorization. Every request to an app backend on Kinvey, made by one of our mobile SDKs or another client, is associated with a security context. Kinvey uses this context to determine whether the user making the request is:  

  • Who they say they are -- The user is authenticated using their credentials
  • Allowed to do what they're trying to do -- The user is authorized to act on the resource in the manner specified


Let me know if you have more questions.


Thanks,

Pranav

Kinvey

Login or Signup to post a comment