apache / apache/grails-core

Refresh Token Inaccessible

Open
#15,901 6 comments 0 reactions 0 assignees View on GitHub
relates-to:spring-security
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

I'm using this plugin to authenticate using JWT and Oauth2 (via Keycloak)

There is a accessToken api call provided in the RestOauthController where a valid refreshToken can be provided to request/generate a fresh accessToken. But how is one supposed to retrieve/surface the refreshToken initially generated for the first AccessToken? I cant find any documentation on this, and looking at the source code it doesn't seem possible?

Pointers greatly appreciated

Contributor guide

Open the contributing guide

Research direction

Start with the RestOauthController accessToken API and trace how the initial access token response is built when using JWT/OAuth2 with Keycloak. Clarify whether the expected outcome is to expose the generated refresh token or document an existing retrieval path; done means the intended refresh-token flow is available and verifiable.

Written by the indexing model from the issue text.

Assessment

Tech stack
groovy
Domain
api, authentication
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.