Oauth2 client

Is this behavior normal? after login success and token exchange , client removed session and i have to login again
No description
13 Replies
JavaBot
JavaBot3w ago
This post has been reserved for your question.
Hey @llamasad! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
dan1st
dan1st3w ago
which endpoint?
llamasad
llamasadOP3w ago
what are u meant ?
dan1st
dan1st3w ago
Well I assume the log is written in response to a request
JavaBot
JavaBot3w ago
public OidcSessionInformation removeSessionInformation(String clientSessionId) {
OidcSessionInformation information = this.sessions.remove(clientSessionId);
if (information != null) {
this.logger.trace("Removed client session");
}
return information;
}
public OidcSessionInformation removeSessionInformation(String clientSessionId) {
OidcSessionInformation information = this.sessions.remove(clientSessionId);
if (information != null) {
this.logger.trace("Removed client session");
}
return information;
}
dan1st
dan1st3w ago
then you'd know what called it
llamasad
llamasadOP3w ago
authorize code flow is work fine but why it remove client , i observe log but notthing error offline session is create in keyloack like normal with offline access scope maybe this error on client
dan1st
dan1st3w ago
yes and I suggested to use a breakpoint to see what attempted to remove the client session
dan1st
dan1st3w ago
also you could enable logging of all requests to see whether another request caused it: https://stackoverflow.com/a/43155103/10871900
Stack Overflow
Spring Boot - How to log all requests and responses with exceptions...
I'm working on REST API with spring boot. I need to log all requests with input params (with methods, eg. GET, POST, etc.), request path, query string, corresponding class method of this request, a...
dan1st
dan1st3w ago
(you don't need to log the payload and client info) or alternatively, you could just use the devtools and see which request is pending when the breakpoint is hit and the thread is suspended
llamasad
llamasadOP3w ago
let me try
JavaBot
JavaBot3w ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.

Did you find this page helpful?