Support server side rendering to enable Mastodon tick #57

Closed
opened 1 year ago by yarmo · 1 comments
yarmo commented 1 year ago
Owner

Original issue: keyoxide/web#16

Keyoxide links added to Mastodon profile pages could receive a green tick if the Keyoxide profile it links to contains the link back to that Mastodon profile at page load.

Currently, this is not the case. The page is first loaded and then the browser starts collecting keys and verifing claims.

To support the green tick, the key collection, claim verification and page rendering needs to happen server side.

The reason this couldn't happen earlier is because I didn't have server side code that could do all this and I didn't want to maintain two codebases for the same function.

This has been solved with the release of https://codeberg.org/keyoxide/doipjs.

Perhaps we could introduce some way in the URL to let the server know whether to render on the server or let the browser do all the rendering? This way, Mastodon links with the "server side rendering flag" will get the green tick.

Original issue: https://codeberg.org/keyoxide/web/issues/16 Keyoxide links added to Mastodon profile pages could receive a green tick if the Keyoxide profile it links to contains the link back to that Mastodon profile at page load. Currently, this is not the case. The page is first loaded and then the browser starts collecting keys and verifing claims. To support the green tick, the key collection, claim verification and page rendering needs to happen server side. The reason this couldn't happen earlier is because I didn't have server side code that could do all this and I didn't want to maintain two codebases for the same function. This has been solved with the release of https://codeberg.org/keyoxide/doipjs. Perhaps we could introduce some way in the URL to let the server know whether to render on the server or let the browser do all the rendering? This way, Mastodon links with the "server side rendering flag" will get the green tick.
yarmo added the
enhancement
label 1 year ago
yarmo added this to the Feature development project 1 year ago
Poster
Owner

Has happened.

Has happened.
yarmo closed this issue 2 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.