implement mastodon oauth authorization #22

Merged
sugar merged 3 commits from sugar/forkey:implement-mastodon-oauth into main 2025-02-08 22:01:21 +00:00
Owner

What

Implemented enough of Mastodon OAuth authentication for salted caramel to work (after modifying it to use HTTP URLs rather than HTTPS URLs).

OAuth doesn't work in dev mode, it's necessary to use pnpm build && pnpm start.

Why

Working towards full Mastodon API implementation.

Additional info (optional)

This modifies app table to contain Mastodon specific information, which will be used later for implementation of /api/v1/apps/verify_credentials.

Checklist

  • Read the contribution guide
  • Test working in a local environment
  • (If needed) Add story of storybook
  • (If needed) Update CHANGELOG.md
  • (If possible) Add tests
<!-- ℹ お読みください / README PRありがとうございます! PRを作成する前に、コントリビューションガイドをご確認ください: Thank you for your PR! Before creating a PR, please check the contribution guide: https://github.com/misskey-dev/misskey/blob/develop/CONTRIBUTING.md --> ## What <!-- このPRで何をしたのか? どう変わるのか? --> <!-- What did you do with this PR? How will it change things? --> Implemented enough of Mastodon OAuth authentication for [salted caramel](https://git.gay/sugar/salted-caramel) to work (after modifying it to use HTTP URLs rather than HTTPS URLs). OAuth doesn't work in dev mode, it's necessary to use `pnpm build && pnpm start`. ## Why <!-- なぜそうするのか? どういう意図なのか? 何が困っているのか? --> <!-- Why do you do it? What are your intentions? What is the problem? --> Working towards full Mastodon API implementation. ## Additional info (optional) <!-- テスト観点など --> <!-- Test perspective, etc --> This modifies `app` table to contain Mastodon specific information, which will be used later for implementation of `/api/v1/apps/verify_credentials`. ## Checklist - [ ] Read the [contribution guide](https://github.com/misskey-dev/misskey/blob/develop/CONTRIBUTING.md) - [ ] Test working in a local environment - [ ] (If needed) Add story of storybook - [ ] (If needed) Update CHANGELOG.md - [ ] (If possible) Add tests
sugar force-pushed implement-mastodon-oauth from a44d8a14f6 to 629d28218d 2025-01-11 17:27:43 +00:00 Compare
sugar force-pushed implement-mastodon-oauth from 629d28218d to 511c429d48 2025-02-02 16:48:43 +00:00 Compare
sugar force-pushed implement-mastodon-oauth from 511c429d48 to bd88c5261e 2025-02-07 20:00:39 +00:00 Compare
sugar force-pushed implement-mastodon-oauth from bd88c5261e to 61db718bae 2025-02-07 20:42:41 +00:00 Compare
sugar force-pushed implement-mastodon-oauth from 61db718bae to 67c323a8f2 2025-02-07 20:48:45 +00:00 Compare
sugar force-pushed implement-mastodon-oauth from 67c323a8f2 to 125bf6fe93 2025-02-07 20:53:28 +00:00 Compare
Author
Owner

Added support for masto-fe-standalone.

Added support for [masto-fe-standalone](https://iceshrimp.dev/iceshrimp/masto-fe-standalone).
leah approved these changes 2025-02-08 22:00:56 +00:00
sugar merged commit e90e9e016f into main 2025-02-08 22:01:21 +00:00
Sign in to join this conversation.
No description provided.