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

Improve social previews of EB URLs #1284

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Conversation

thijskh
Copy link
Member

@thijskh thijskh commented Dec 9, 2023

This happens mostly when someone pastes a link to a social medium which redirects immediately to OpenConext and e.g. shows a WAYF. The social preview of that link is then the logo of the first IdP in the wayf. This improves on that by ensuring that the logo used is the OpenConext instance's own logo. This is a less "random" experience.

There are more fields available in the OpenGraph specification but we do not have readily available content for those fields. The fields we add now we can fill with information we already have in the template so are a quick way to improve the social previews over the previous situation.

This happens mostly when someone pastes a link to a social medium which
redirects immediately to OpenConext and e.g. shows a WAYF. The social
preview of that link is then the logo of the first IdP in the wayf. This
improves on that by ensuring that the logo used is the OpenConext instance's
own logo.

There are more fields available in the OpenGraph specification but we do
not have readily available content for those fields. The fields we add
now we can fill with information we already have in the template so are
a quick way to improve the social previews over the previous situation.
@thijskh thijskh requested a review from KarsanHAM December 9, 2023 10:03
@thijskh thijskh merged commit 56bb278 into master Dec 18, 2023
0 of 2 checks passed
@thijskh thijskh deleted the feature/link-preview-metadata branch December 18, 2023 10:30
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

Successfully merging this pull request may close these issues.

2 participants