Skip to content

Instantly share code, notes, and snippets.

@beryu
beryu / dabblet.css
Created May 9, 2013 01:13
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@beryu
beryu / client_id_header.md
Last active March 24, 2020 15:30
client_id's header | Sign in with Apple
key value where you get
alg "ES256" It's fixed value
kid "12AB3C456D" Copy Key ID of Secret Key for Sign in with Apple from Keys
@beryu
beryu / client_id_payload.md
Last active March 24, 2020 16:10
client_id's claim payload | Sign in with Apple
key value where you get
iss "AB1C23D4EF" Copy Team ID from Membership
iat 1585000000 Set current unix time
exp 1586000000 Set expiration unix time. It must be smaller than 6 months later
aud "https://appleid.apple.com" It's fixed value
sub "com.example.app.signin" Same value with client_id parameter