Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing authentication in documentation #1312

Closed
V-iktor opened this issue Dec 10, 2022 · 1 comment
Closed

Missing authentication in documentation #1312

V-iktor opened this issue Dec 10, 2022 · 1 comment

Comments

@V-iktor
Copy link

V-iktor commented Dec 10, 2022

I am migrating from the unmaintained react-contentful and trying to use @contentful/react-apps-toolkit instead.

So I am wondering how to use the authentication for useFieldValue is set up.

@andipaetzold
Copy link
Contributor

react-contentful is not an official Contentful library, so I don't have much context about that.
With useFieldValue you can access the field values of the entry you are currently editing. Therefore you do not need to handle authentication.
To access other entries using the CMA, you can use useCMA and, again, authentication is already handled for you.

Did you run into any issues?

@V-iktor V-iktor closed this as completed Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants