Skip to content

Create atproto-did for Bluesky handle #1830

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

Merged
merged 2 commits into from
Nov 19, 2024
Merged

Conversation

tazsingh
Copy link
Contributor

@tazsingh tazsingh commented Nov 19, 2024

Description

This is to connect the GraphQL Foundation Bluesky handle with @graphql.org

Essentially https://graphql.org/.well-known/atproto-did needs to exist and provide the value of did:plc:a65ga6opvhd2h453vwscrvil

I believe putting the atproto-did file in the public/.well-known directory in this repo should achieve that

Let me know if there is a more optimal way! Happy for others to take over alternatively 🙏

Thanks!

Copy link

vercel bot commented Nov 19, 2024

@tazsingh is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Nov 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graphql-github-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 19, 2024 3:58pm

@tazsingh
Copy link
Contributor Author

tazsingh commented Nov 19, 2024

Looks like Vercel's Preview has the correct file at the correct URL ✅

That gives me confidence that this is the correct approach to surface that file! 🙏

@benjie
Copy link
Member

benjie commented Nov 19, 2024

The content-type here is not ideal; it should be text/plain. Happy to ship this and see if it works, but if not we can always fall back to DNS.

$ curl -H 'accept:text/plain' -i https://graphql-github-io-git-fork-tazsi-478d1d-the-graph-ql-foundation.vercel.app/.well-known/atproto-did
HTTP/2 200 
accept-ranges: bytes
access-control-allow-origin: *
age: 263
cache-control: public, max-age=0, must-revalidate
content-disposition: inline; filename="atproto-did"
content-type: application/octet-stream
date: Tue, 19 Nov 2024 16:03:25 GMT
etag: "f7d8dd2ea4fe1f6fc550848d49592535"
last-modified: Tue, 19 Nov 2024 15:59:02 GMT
server: Vercel
strict-transport-security: max-age=63072000; includeSubDomains; preload
x-robots-tag: noindex
x-vercel-cache: HIT
x-vercel-id: lhr1::vxccs-1732032205418-daea3b2567a2
content-length: 33

did:plc:a65ga6opvhd2h453vwscrvil

@benjie benjie merged commit fa1382b into graphql:source Nov 19, 2024
4 checks passed
@tazsingh
Copy link
Contributor Author

Thanks @benjie!

Yeah let's see 🤞 If needed, I believe we can update the vercel.json file to serve this with the text/plain Content-Type

mandiwise pushed a commit to mandiwise/graphql.github.io that referenced this pull request Nov 22, 2024
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.

4 participants