Hi, all
I’m so newbie still trying to grab an idea of how I can use Netlify for my eCommerce web/mobile application.
I have two questions:
First, I assume that there is a user authentication token somehow stored and verified by Netlify Identity. So I can gate contents depend on its role. But Is it possible to implement a relation between user token and custom created data(fields of Collections in NetlifyCMS)?
A use case would be like this:
There is a custom Google sign-in page built with React and custom Netilify Identity will be used. This because I want to have a custom UI for Identity widget.
Netlify Identity has to authenticate with Google sign-in API, then a product that the user pressed a like button on will have a relation with the user. Whenever the user logs in again, the react app will pull liked product data from NetlifyCMS by sending a request.
So the following second question is:
Is it possible to create an API scheme with NetlifyCMS so that the client can ask a request like this?
GET https://netlify.app/admin/collections/product/1
Thank you!