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 keep getting an error (Module not found: Can't resolve 'v8') when I use the Issuer. Seems to happen even if I use the google issuer and I recently updated my node to see if its a version issue. Same error.
@developdeez as said above, you are likely using this library in a non-Node.js environment, something like Cloudflare Workers maybe? Could you share your repository or a more elaborate reproduction?
I keep getting an error (Module not found: Can't resolve 'v8') when I use the Issuer. Seems to happen even if I use the google issuer and I recently updated my node to see if its a version issue. Same error.
openid-client 5.1.3
in NextJS
`const { Issuer, Strategy } = require('openid-client');
class OidcConnector extends Connector {
constructor(settings) {
super('oidc', {
issuer: settings.issuer,
clientId: settings.clientId,
clientSecret: settings.clientSecret,
publicKey: settings.publicKey,
redirectUri: settings.redirectUri,
sessionSecret: settings.sessionSecret || 'Secret',
selectProfileData: settings.selectProfileData,
findOrCreateProfile: settings.findOrCreateProfile
});
}
async initialize() {
this.issuer = new Issuer({
issuer: 'https://accounts.google.com',
});
}
module.exports = OidcConnector;
`
The text was updated successfully, but these errors were encountered: