Skip to content

Switch to JWT Access tokens.#19

Open
jonenst wants to merge 1 commit intomainfrom
accesstokenjwt
Open

Switch to JWT Access tokens.#19
jonenst wants to merge 1 commit intomainfrom
accesstokenjwt

Conversation

@jonenst
Copy link
Copy Markdown

@jonenst jonenst commented May 14, 2025

The previous opaque token didn't work with our gateway anyway. "The mapper [org.gridsuite.gateway.GatewayService$$Lambda/0x00007581b66b4f78] returned a null value."

The jwt token is validated by our gateway. It looks like this {
"jti": "HipmvWWhfZIRJg33IYqym",
"sub": "XXX",
"iat": 1747236299,
"exp": 1747239899,
"scope": "openid",
"iss": "http://172.17.0.1:9090/",
"aud": "gridexplore-client"
}

The previous opaque token didn't work with our gateway anyway.
"The mapper [org.gridsuite.gateway.GatewayService$$Lambda/0x00007581b66b4f78] returned a null value."

The jwt token is validated by our gateway. It looks like this
{
  "jti": "HipmvWWhfZIRJg33IYqym",
  "sub": "XXX",
  "iat": 1747236299,
  "exp": 1747239899,
  "scope": "openid",
  "iss": "http://172.17.0.1:9090/",
  "aud": "gridexplore-client"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant