Skip to content

Creating JWT token when answer submit button is clicked#509

Open
esnoftz wants to merge 2 commits intoqa-forumfrom
en/jwt-creation
Open

Creating JWT token when answer submit button is clicked#509
esnoftz wants to merge 2 commits intoqa-forumfrom
en/jwt-creation

Conversation

@esnoftz
Copy link
Contributor

@esnoftz esnoftz commented Feb 25, 2026

Status:

Description

JWT token is created when the answer submit button is clicked.

@helenailic
Copy link
Contributor

hi @esnoftz ! this code looks great from my end. i wanted to ask tho, how you tested this? seems there's a console log, but for it to properly post a question it would need to also render the corresponding components and grab the text from them. is this something you considered or how did you test it?

@helenailic
Copy link
Contributor

could you please create a separate backend jwt-creation endpoint for your jwt creation code, and then call that from post answer for good code practices and modularity!

Copy link
Contributor

@helenailic helenailic left a comment

Choose a reason for hiding this comment

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

refer to comments above

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