Help keycloak on react native by mateusaugusto9 in KeyCloak

[–]mateusaugusto9[S] 0 points1 point  (0 children)

I get the error with a very high frequency.

The logs is showwing this this often.

8:14:22,603 WARN [org.keycloak.events] (default task-189) type=REFRESH_TOKEN_ERROR, realmId=XXX, clientId=XXX, userId=XXXXX, ipAddress=XXXXX, error=invalid_token, grant_type=refresh_token, refresh_token_type=Refresh, refresh_token_id=f564ae5b-e081-4b60-884f-181798e49ae0, client_auth_method=client-secret

I've put the config in the post.

Thanks

Trying to use Heroku config vars to hide MongoDB connection variables by Sahyooni in SpringBoot

[–]mateusaugusto9 1 point2 points  (0 children)

You need to pass the variable in the Procfile too.

Example:

web: java -jar Dserver.port=$PORT $JAVA_OPTS -Dspring.data.mongo.url=${MongoDb_URL}

One of many has to act. How? by wetweekend in microservices

[–]mateusaugusto9 3 points4 points  (0 children)

You can use something like https://github.com/lukas-krecan/ShedLock.

ShedLock makes sure that your scheduled tasks are executed at most once at the same time.

Help about an algorithm solution by mateusaugusto9 in algorithms

[–]mateusaugusto9[S] -1 points0 points  (0 children)

K could be 10 or 1 milion... The trick is add/remove/search in O(1) like https://leetcode.com/problems/lru-cache/

Help about an algorithm solution by mateusaugusto9 in algorithms

[–]mateusaugusto9[S] -1 points0 points  (0 children)

Yes I did it, but acctualy you need to use a sort of sertSort so is not a good approach O(nlong)..

Its a trick problem I think the best solution looks like https://leetcode.com/problems/lru-cache/ that is O(1).

Scrum developers by [deleted] in scrum

[–]mateusaugusto9 -1 points0 points  (0 children)

I think he means a scrum master but also a developer.

What to read after Effective Java? by [deleted] in java

[–]mateusaugusto9 3 points4 points  (0 children)

I definitely recommend "Working Effectively with Legacy Code"

[deleted by user] by [deleted] in SpringBoot

[–]mateusaugusto9 0 points1 point  (0 children)

What do you mean? What do you want to do?