Skip to content

fix(scopes): use account:email scope over transition:email#285

Merged
jaredpereira merged 3 commits intohyperlink-academy:mainfrom
hbjydev:fix/non-transitional-scopes
Apr 17, 2026
Merged

fix(scopes): use account:email scope over transition:email#285
jaredpereira merged 3 commits intohyperlink-academy:mainfrom
hbjydev:fix/non-transitional-scopes

Conversation

@hbjydev
Copy link
Copy Markdown
Contributor

@hbjydev hbjydev commented Apr 12, 2026

This PR migrates the transition:email scope to account:email?action=read, dropping the transitional permission scope.

This should fix issues like #272 for Tranquil PDS users, but also moves email address access to atproto's more fleshed out OAuth permissions system.

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 12, 2026

@hbjydev is attempting to deploy a commit to the Hyperlink Team on Vercel.

A member of the Team first needs to authorize it.

@jaredpereira
Copy link
Copy Markdown
Contributor

Hey! Thanks for doing this!

I think we'll also need to add the scope to our top level oauth config (https://github.com/hyperlink-academy/leaflet/blob/main/app/api/oauth/%5Broute%5D/oauth-metadata.ts), and should leave transition:email in there as well for now, so as to not break existing sessions. That should be it though!

@hbjydev
Copy link
Copy Markdown
Contributor Author

hbjydev commented Apr 13, 2026

@jaredpereira Done! :)

@hbjydev
Copy link
Copy Markdown
Contributor Author

hbjydev commented Apr 14, 2026

Any chance of getting this looked at again today? :) I'm very much missing my ability to write on Leaflet atm lol

@hbjydev hbjydev force-pushed the fix/non-transitional-scopes branch 2 times, most recently from 95961f2 to 02e578e Compare April 17, 2026 14:58
@jaredpereira
Copy link
Copy Markdown
Contributor

Tested locally and works great, thanks for fixing this!

@jaredpereira jaredpereira merged commit a10bdc9 into hyperlink-academy:main Apr 17, 2026
1 check failed
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