hmcts / service-auth-provider-java-client Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
We had some issues regarding JWT not being re-generated when our JWT didn't contain the "exp" property in the payload.
Since this is used in conjunction with a one-time password, I believe that in the case of the JWT not containing the "exp" property, we should always re-generate it (i.e. re-generating should be the default behaviour).
My fear is that if we ever handle a payload that doesn't have an "exp" property, we'll be always returning the same token until spring is restarted.
I'd like to know what the team thinks about it. This is only my interpretation.
References:
One-time password:
I think it could prevent problems in production and make functional testing less dependant on testers using the "exp" property.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/changelog.yml
release-drafter/release-drafter v6
.github/workflows/gradle.yml
actions/checkout v4
actions/setup-java v4
.github/workflows/jitpack_build.yml
actions/checkout v4
settings.gradle
build.gradle
io.spring.dependency-management 1.1.5
org.springframework.boot 3.3.1
org.owasp.dependencycheck 9.2.0
com.github.ben-manes.versions 0.51.0
se.patrikerdes.use-latest-versions 0.2.18
au.com.dius.pact 4.1.11
checkstyle 10.17.0
pmd 6.55.0
org.springframework.cloud:spring-cloud-starter-openfeign 4.1.2
io.github.openfeign:feign-jackson 13.3
com.warrenstrange:googleauth 1.5.0
com.auth0:java-jwt 4.4.0
jakarta.servlet:jakarta.servlet-api 6.1.0
junit:junit 4.13.2
org.assertj:assertj-core 3.26.0
org.mockito:mockito-core 5.12.0
org.springframework.cloud:spring-cloud-contract-wiremock 4.1.3
au.com.dius.pact.consumer:junit5 4.1.11
au.com.dius.pact.consumer:junit5 4.1.11
org.junit.jupiter:junit-jupiter-api 5.10.2
org.junit.jupiter:junit-jupiter-engine 5.10.2
org.junit.jupiter:junit-jupiter-api 5.10.2
gradle/wrapper/gradle-wrapper.properties
gradle 8.8
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.