Skip to content

Instantly share code, notes, and snippets.

View samuelgoto's full-sized avatar
💭
hello world!

Sam Goto samuelgoto

💭
hello world!
View GitHub Profile
login.php
```
<html>
try {
const credential = await navigator.credentials.store(new FederatedCredential({
rp: "https://springer.com",
user: {name: "David", picture: "..."}
}));
// do stuff
window.location.href = "https://springer.com/?saml_resonse?" + ...;

login.php

<html>
try {
  const credential = await navigator.credentials.store(new FederatedCredential({
    rp: "https://springer.com",
    user: {name: "David", picture: "..."}
  }));
  // do stuff
 window.location.href = "https://springer.com/?saml_resonse?" + ...;

hello world. what would happen if i included a typogram into a github markdown file? Would github keep its annotation?

+----+
|.   |---> hello world!
+----+

Oh, yes, it does! here is what this turns into:

<pre class='metadata'>
Title: Federated Credential Management API
Shortname: FedCM
Level: 1
Status: w3c/CG-DRAFT
Group: fedidcg
ED: https://fedidcg.github.io/FedCM/
Repository: fedidcg/FedCM
Editor: Sam Goto, Google Inc. https://google.com, [email protected]
% dig -t txt _atproto.sgo.to | grep did
_atproto.sgo.to.	21600	IN	TXT	"did=did:plc:bftbdgcbe4zclvpkboe4hleq"

% curl -s "https://plc.directory/did:plc:bftbdgcbe4zclvpkboe4hleq" | jq .
{
  "@context": [
    "https://www.w3.org/ns/did/v1",
 "https://w3id.org/security/multikey/v1",
pnpm add @atproto/dev-env
# It seems that handles have to be .test for the dev environment
curl \
  --silent \
 --show-error \