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

OAuth doc tweaks #56

Merged
merged 5 commits into from
Aug 9, 2024
Merged

OAuth doc tweaks #56

merged 5 commits into from
Aug 9, 2024

Conversation

bnewbold
Copy link
Contributor

@bnewbold bnewbold commented Aug 8, 2024

Updates markdown reference link format. The "just brackets" style ([PROTOCOL]) does work in CommonMark and is called "shortcut reference link", but when I first looked in github markdown docs it wasn't described/specced anywhere so I updated everything in "collapsed referenced link" style ([PROTOCOL][]) or expanded ([Protocol][PROTOCOL]). I'd be fine with the "shortcut reference link" syntax in the future, but doesn't seem work re-updating this PR.

The "title" string in quotes in the reference link definitions only shows up as "title" attribution not the text, unfortunately, so I updated a bunch of links with casing and/or terminology changes.

Lower-casing draft names is the norm in the IETF community so I went with that.

Updated client_id examples to be full URLs to a metadata JSON doc.

Updated HTTP request snippets to use urlencoding more consistently. More technically correct though poor for readability.

Removed some refs which seemed unrelated, like Open Graph and some internal notion links.

Switched domain examples to not be bsky in most cases, so this will read as more atproto-generic. Didn't update the reverse-domain app prefix examples as they are a good example there though.

We should maybe have a Changelog section for this doc? but I just want to get these fixes through for now, history is in git.

@bnewbold bnewbold requested a review from matthieusieben August 8, 2024 23:54
@bnewbold bnewbold force-pushed the bnewbold/oauth-tweaks branch from 64dbf9b to c3cf3c7 Compare August 8, 2024 23:57
Copy link
Contributor

@matthieusieben matthieusieben left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me ! Thank you

@bnewbold bnewbold merged commit 46f22eb into main Aug 9, 2024
@bnewbold bnewbold deleted the bnewbold/oauth-tweaks branch August 9, 2024 20:03
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