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
Hi, I'm pretty new to Passport. I realized when I hit a route with auth:api middleware oauth_access_tokens table gets queried twice. Is this normal behaviour or am I doing something wrong?
41 Prepare select * from oauth_access_tokens where oauth_access_tokens.id = ? limit 1
41 Execute select * from oauth_access_tokens where oauth_access_tokens.id = 'TOKEN' limit 1
41 Close stmt
41 Prepare select * from users where users.id = ? limit 1
41 Execute select * from users where users.id = '1' limit 1
41 Close stmt
41 Prepare select * from oauth_access_tokens where oauth_access_tokens.id = ? limit 1
41 Execute select * from oauth_access_tokens where oauth_access_tokens.id = 'TOKEN' limit 1
41 Close stmt
41 Prepare select exists(select * from oauth_clients where id = ? and revoked = ?) as exists
41 Execute select exists(select * from oauth_clients where id = '3' and revoked = '1') as exists
The text was updated successfully, but these errors were encountered:
Hi, I'm pretty new to Passport. I realized when I hit a route with auth:api middleware oauth_access_tokens table gets queried twice. Is this normal behaviour or am I doing something wrong?
41 Prepare select * from
oauth_access_tokens
whereoauth_access_tokens
.id
= ? limit 141 Execute select * from
oauth_access_tokens
whereoauth_access_tokens
.id
= 'TOKEN' limit 141 Close stmt
41 Prepare select * from
users
whereusers
.id
= ? limit 141 Execute select * from
users
whereusers
.id
= '1' limit 141 Close stmt
41 Prepare select * from
oauth_access_tokens
whereoauth_access_tokens
.id
= ? limit 141 Execute select * from
oauth_access_tokens
whereoauth_access_tokens
.id
= 'TOKEN' limit 141 Close stmt
41 Prepare select exists(select * from
oauth_clients
whereid
= ? andrevoked
= ?) asexists
41 Execute select exists(select * from
oauth_clients
whereid
= '3' andrevoked
= '1') asexists
The text was updated successfully, but these errors were encountered: