Hi, greetings everyone.
I’m still not sure about my implementation about consumer management and wanted to ask some advice here.
My current implementation are, when user register:
- Create the consumer
- Create jwt credential for that consumer
- Create jwt token for that user
And when user logged in:
- Retrieve jwt credential based on consumer username
- Generate jwt token for that user
Is this already correct or is there a better approach ? And what if i delete the consumer everytime the user logged out and then recreate upon user login ?