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
I have configured the Config according to the document.
import{UserScope}from"@logto/next";exportconstlogtoConfig={endpoint: "https://auth.aice.chat/",appId: "ej4nih6c4rm9jql612y5c",appSecret: "4BJEw1akolM3zYmTh2CDcfu7idlPXdS1",baseUrl: "http://localhost:3000",// Change to your own base URLcookieSecret: "T0UoSIiPUIs9pO8Mpu74tRtiWmadwBHI",cookieSecure: process.env.NODE_ENV==="production",scopes: [UserScope.CustomData,UserScope.Roles,UserScope.Email,UserScope.Phone,UserScope.Organizations,UserScope.OrganizationRoles,UserScope.Identities,"read:app",// Already configured in the console.],resources: ["http://no.com/api"],};
However, when I call
getLogtoContext(logtoConfig,{
getAccessToken,});
The result does not include scopes.
I also tried using the /oidc/me API, but it didn't return any scopes either.
I have configured the Config according to the document.
However, when I call
The result does not include scopes.
I also tried using the
/oidc/me
API, but it didn't return any scopes either.The above is my test case. How can I retrieve user information with the
scopes
parameter included?The text was updated successfully, but these errors were encountered: