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

Implement OAuth2 Client #1

Open
12 of 16 tasks
Hoto-Cocoa opened this issue Feb 20, 2024 · 8 comments
Open
12 of 16 tasks

Implement OAuth2 Client #1

Hoto-Cocoa opened this issue Feb 20, 2024 · 8 comments
Assignees
Labels
enhancement New feature or request

Comments

@Hoto-Cocoa
Copy link
Owner

Hoto-Cocoa commented Feb 20, 2024

See misskey-dev#13346.

Requirements

  • Create model
  • Add admin API
    • Create
    • Update
  • Add user API
    • List
  • OAuth2 auth flow
    • Authorize (Start)
    • Endpoint
    • Get profile data
    • Signup/Signin
  • Restrict to OAuth2 only
  • Move page when sign up (If single client -> without modal else show modal)
  • Frontend
    • Select auth source
    • Auth flow

TODO

  • random state -> how to store to service side store?
  • add icon url/enabled column to model
  • add some test code?
@Hoto-Cocoa Hoto-Cocoa added the enhancement New feature or request label Feb 20, 2024
@Hoto-Cocoa Hoto-Cocoa self-assigned this Feb 20, 2024
@Hoto-Cocoa
Copy link
Owner Author

Multiple OAuth2 connections to user? N-N map table?

@Hoto-Cocoa
Copy link
Owner Author

Change idPath to usernamePath? (not matched)

@Hoto-Cocoa
Copy link
Owner Author

Hoto-Cocoa commented Feb 20, 2024

Change idPath to usernamePath? (not matched)

idPath and usernamePath both exists, should remove idPath

@Hoto-Cocoa
Copy link
Owner Author

and maybe required to change title to name

@Hoto-Cocoa
Copy link
Owner Author

Change idPath to usernamePath? (not matched)

idPath and usernamePath both exists, should remove idPath

NO

@Hoto-Cocoa
Copy link
Owner Author

should add remove integration page in settings

@Hoto-Cocoa
Copy link
Owner Author

should to change oauth2 comsumer to api and copy welcome.setup.vue?

@Hoto-Cocoa
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant