Replies: 1 comment
-
Hello @kaboomdev It seems like you're correctly using the The error message you're receiving seems to suggest that a valid session was detected and thus login is not possible, which is a bit contradictory given that you're using the ?refresh=true parameter. This could potentially be a bug or a misconfiguration. Without more specific information about your implementation and the exact circumstances under which this error occurs, it's hard to provide a definitive answer. I would recommend checking your implementation against the Ory documentation, particularly the sections on Refreshing a Session and Advanced Integration. |
Beta Was this translation helpful? Give feedback.
-
Hi Ory team,
First of all, thank you for the great product!
We are facing an issue when a logged in user requests the self-service login flow with the
refresh
query parameter.Here is a piece of the error response:
The error message recommends to add the refresh query parameter, however it is already there.
Following the session refresh logic, we understood that this request will not log the user out (info here) as well as not take into account the existing session of user. Thus, on each request with the refresh param, we are awaiting to receive a login flow independent of the current session. Is this a misconception or a bug?
As a working solution, we are currently logging the user out before requesting the login flow.
Beta Was this translation helpful? Give feedback.
All reactions