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 was able to sign in with Google, however it is complaining about
auth-callback.component.ts:31 [ERROR] 0-6k09icbjhc9gesr99odbno4ftd - Error: Token Endpoint not defined in the callback. Any idea?
The text was updated successfully, but these errors were encountered:
foodisready
changed the title
[Bug]: Error: no state in url
[Question]: Error: Token Endpoint not defined
Mar 21, 2025
Version
19
I have this configuration for AWS Cognito,
@NgModule({
imports: [AuthModule.forRoot({
config: {
authority: 'https://cognito-idp.us-east-1.amazonaws.com/us-east-1_xxxxx',
clientId: '6k09icbjhc9xxxxxxxx',
redirectUrl:
${window.location.origin}/auth/callback
, //'http://localhost:4201/auth/callback',postLogoutRedirectUri: 'http://localhost:4201/menu',
scope: 'openid profile email offline_access', // 'openid profile ' + your scopes
responseType: 'code',
silentRenew: true,
useRefreshToken: true,
allowUnsafeReuseRefreshToken: true,
renewTimeBeforeTokenExpiresInSeconds: 30,
triggerAuthorizationResultEvent: true,
logLevel: LogLevel.Debug,
}
})],
exports: [AuthModule],
})
I was able to sign in with Google, however it is complaining about
auth-callback.component.ts:31 [ERROR] 0-6k09icbjhc9gesr99odbno4ftd - Error: Token Endpoint not defined in the callback. Any idea?
The text was updated successfully, but these errors were encountered: