Compare commits
No commits in common. "9d85b9ae45681bff027393ba31950b9e1bf76d8c" and "ec48f73d9f6feb46385f7c20716662aa5eb1d6d5" have entirely different histories.
9d85b9ae45
...
ec48f73d9f
@ -25,8 +25,7 @@ public class HelloAssoTokenService {
|
|||||||
|
|
||||||
// Récupère un token valide (en le rafraîchissant si nécessaire)
|
// Récupère un token valide (en le rafraîchissant si nécessaire)
|
||||||
public Uni<String> getValidAccessToken() {
|
public Uni<String> getValidAccessToken() {
|
||||||
if (clientId == null || clientSecret == null || clientId.isEmpty() || clientSecret.isEmpty() || clientId.equalsIgnoreCase(
|
if (clientId == null || clientSecret == null || clientId.isEmpty() || clientSecret.isEmpty()) {
|
||||||
"null") || clientSecret.equalsIgnoreCase("null")) {
|
|
||||||
LOG.error("Client ID ou Client Secret non configuré pour HelloAsso");
|
LOG.error("Client ID ou Client Secret non configuré pour HelloAsso");
|
||||||
return Uni.createFrom().failure(new IllegalStateException("HelloAsso client credentials not configured"));
|
return Uni.createFrom().failure(new IllegalStateException("HelloAsso client credentials not configured"));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user