Skip to content

OCI - Discourse Verification #20

@Behzad-rabiei

Description

@Behzad-rabiei

Description:

This feature will be integrated with our existing JWT management system, enabling the generation of verification JWTs. The Discourse verification process will be managed under a dedicated DiscourseModule, which will handle the verification of Discourse users.
The primary tasks involve creating the necessary APIs to verify Discourse content and users and generating the appropriate JWT tokens for these actions. Additionally, the JWT management system will be refactored to support the new verification JWTs, and existing modules (Google, Discord, SIWE) will be updated to align with this centralized approach.

### Tasks:

  • Refactor existing JWT logic into a new standalone JwtModule.
  • Implement JwtService to manage JWT operations, supporting both UserJwt and VerificationJwt.
  • Google Module: Integrate JwtService for JWT management.
  • Discord Module: Refactor to use JwtService for JWT operations.
  • SIWE Module: Update to utilize JwtService for JWT creation and validation.
  • Create a DiscourseModule for Discourse verification processes.
  • Implement an API to receive a user's SIWE JWT and return a VerificationJwt.
  • Implement an API to verify Discourse articles and users, responding with a DiscourseJwt.

References:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions