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

SPA with JWT example?

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

Nobody has claimed this yet.

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

Description

Is there a sample that demonstrate how to use Spring authentication server which uses JWT access and refresh tokens?
My use case is a NUXT application which needs a login. Then use the access token to call a spring boot application to get some data.
When the access token is expired call the authentication server with the refresh token to get a new access token.

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

No files, tests, or entry points are named. Start by reviewing existing samples involving Spring authentication, Spring Boot resource access, and Nuxt login flows, then clarify the intended scope of a new example. Done would be a documented sample covering access-token use and refresh-token renewal.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, nuxtjs, spring-boot
Domain
authentication, backend, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.