Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Razzle.JS / Auth0 integration #181

Closed
jackoliver opened this issue Aug 27, 2019 · 5 comments · Fixed by #184
Closed

Issue with Razzle.JS / Auth0 integration #181

jackoliver opened this issue Aug 27, 2019 · 5 comments · Fixed by #184

Comments

@jackoliver
Copy link

Overview
A change made in the 1.2.0 release has made a working RazzleJS / Auth0 integration cease to work. Locked my package to 1.1.1 for now, but thought I would raise the issue.

Error message:
self is not defined.

Note
I assume it's something to do with the window object not being available in the SSR side of Auth0. Anyway, a heads up :)

@luisrudge
Copy link
Contributor

@jackoliver we changed our promise polyfill in @auth0/auth0-spa-js@1.2.1, can you see if this fixes the issue?

@twelvearrays
Copy link

Same for Next.js. I agree it looks like it has to do with no window object on SSR.

@Enngage
Copy link

Enngage commented Aug 28, 2019

Same here :/ Getting self is not defined during production build in Angular 8

@luisrudge
Copy link
Contributor

I'm checking this now, sorry for the troubles 😅

@luisrudge
Copy link
Contributor

Fixed in 1.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants