-
Notifications
You must be signed in to change notification settings - Fork 755
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Enable access token for OEmbed Client #1225
Comments
A possible workaround for the oEmbed endpoint of Facebook is to add the access token to the endpoint URL in the OSGi configuration. The Instagram configuration for example would look like: provider="Instagram"
endpoint="https://graph.facebook.com/v8.0/instagram_oembed?access_token=72...%7C89..."
format="json"
scheme=["https?://(www\\.)?instagram\\.com/p/.*","https?://(www\\.)?instagr\\.am/p/.*"]
unsafeContext="true" Note that the access token is a combination of |
- add namespace for carousel component - remove Facebook and Instagram test because of #1225
- add namespace for carousel component - remove Facebook and Instagram test because of #1225
- add namespace for carousel component - remove Facebook and Instagram test because of #1225
Hi @bpauli |
Feature Request
Some oEmbed endpoints require an access token for embedding. For example:
Instagram: https://developers.facebook.com/docs/instagram/oembed/
Facebook: https://developers.facebook.com/docs/plugins/oembed?locale=en_US
The generic oEmbed URL processor doesn't provide a generic way to add this token to the request at the moment.
Describe the solution you'd like
If an endpoint needs an access token the URL processor should be able to make a lookup for an context-aware configuration which is providing this token for the request.
The text was updated successfully, but these errors were encountered: