You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only solution ( if not a new endpoint ) is to tweak current structure to do that
What are the problems :
The endpoint /api/exercises/{id} OAS :
It doesn't need a security check from now so to detect the user, you use add the authorization header when you want the user vote but keep the endpoint accessible to guest too : security must be optional
How it is highly likely that other endpoints will undergo the same logic of optionality, the cleanest way to deal with this kind of case is to introduce some code to detect that
I'm going to see how I'm going to deal with these problems today ...
No description provided.
The text was updated successfully, but these errors were encountered: