playframework/play-samples

Suggestion to create an example for a token-base Endpoint Authentication (e.g. JWT)

linde9821 opened this issue · 0 comments

Hello :)

I would suggest to create an example on how to secure a REST Endpoint via JSON Web Token.

The main reasons in my opinion are as followed:

  1. Many developers like to use the play framework for creating REST APIs. Since JWT Auth is the defacto standard for auth in the context of REST apis i would argue it would be useful to have this example.
  2. All "non official" sources regarding this topic are mostly outdated.
  3. It's hard for newcomers to solve such issues without some guidance.

I hope you can understand my suggestion and might consider it. Iam also open for other resources regarding this topic.

Regards

Moritz :)