We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b37f317 commit 2852163Copy full SHA for 2852163
packages/nextjs/src/AsgardeoNextClient.ts
@@ -390,7 +390,6 @@ class AsgardeoNextClient<T extends AsgardeoNextConfig = AsgardeoNextConfig> exte
390
const token = await getAccessToken();
391
392
if (typeof token !== 'string' || !token) {
393
- throw new Error('Access token not found');
394
throw new AsgardeoRuntimeError(
395
'Failed to get access token.',
396
'AsgardeoNextClient-getAccessToken-RuntimeError-003',
0 commit comments