Skip to content

Conversation

@axshani
Copy link
Contributor

@axshani axshani commented Oct 12, 2022

@AsafPolakovski AsafPolakovski merged commit 8e2a1ed into master Oct 12, 2022
def test_create_jwt_token():
account_id = create_individual_customer()
request = CreateCustomerToken(account_id, "customers accounts",
jwt_subject="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9fQ")
Copy link

Choose a reason for hiding this comment

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

Is jwt_subject and jwt_token the same field? What is the diff between these 2 fields?

Copy link
Collaborator

Choose a reason for hiding this comment

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

No, they are not the same, you understood correctly it should be the token.
the jwt_subject should be set for the customer in order to identify that the token sent is related to the specific customer

@chita13 chita13 deleted the fix/jwtSubject-to-jwtToken branch October 20, 2022 13:04
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.

5 participants