Hi guys, currently facing issue on get current session using get account sdk.
Issue: User (role: guests) missing scope (account)
This error happen when i call it from next js components.
It working well when i call it from page
May i know why this happen?
TL;DR
Developers are encountering an error of "User (role: guests) missing scope (account)" when calling the session for navigation component in a Next.js application. The error occurs specifically when calling from components instead of pages. The issue likely arises from missing scope permissions for users with the 'guest' role. Double-check and adjust the scope permissions accordingly to resolve the error.