spring-projects / spring-projects/spring-security-samples

Add sample for Opaque Token endpoint that returns a JWT

Open
#295 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Java
Stars
1.8k
Forks
797
Avg merge
3m
Merged PRs (30d)
5

Description

Related to https://github.com/spring-projects/spring-security/issues/15467

It may be possible to configure Spring Authorization Server to return a JWT as part of the introspection endpoint. Given that, it would be nice to demonstrate how to create a custom OpaqueTokenIntrospector that returns the verified JWT.

Contributor guide

No contributing guide indexed for this repository

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

Start by reading the related issue #15467 and locating the existing Spring Authorization Server introspection sample. Determine how the endpoint can return a JWT and how a custom OpaqueTokenIntrospector should expose the verified token. Done means the samples include a runnable demonstration of this configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring
Domain
authentication, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.