playframework / playframework/play-samples

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

Open
#113 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
554
Forks
548
Avg merge
1d 11h
Merged PRs (30d)
57

Description

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 :)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the repository's existing sample projects and determine where a REST endpoint authentication example belongs. The issue names JWT and Play Framework but no files, tests, or implementation scope; agree on the supported authentication flow and completion criteria with maintainers before starting.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.