auth0 / omniauth-auth0

OmniAuth strategy to login with Auth0
MIT License
125 stars 67 forks source link

Upgraded to omniauth-auth0 3.1.0 but got errors #179

Closed hopewise closed 1 year ago

hopewise commented 1 year ago

Checklist

Description

Hello

I have recently upgraded omniauth-auth0 in my rails app from 1.4.2 to (3.1.0) but I’ve noticed that the auth0_lock_modal in javascript no more working, I tried to use latest version https://cdn.auth0.com/js/lock/12.0.2/lock.min.js

Screen Shot 2023-05-05 at 11 16 47 AM

It was working normally before the upgrade, any idea ?

Reproduction

  1. Have a rails app with ruby 2.7.0 and omniauth-auth0 1.4.2, make sure auth0 lock modal is working correctly.

  2. Upgrade the app to use ruby 3.2.0, omniauth-auth0 3.1.0, and it will not show the social buttons:

    Screen Shot 2023-05-05 at 3 48 20 PM

but instead, it will shows:

Screen Shot 2023-05-05 at 3 53 24 PM

Any idea ?

Additional context

No response

omniauth-auth0 version

3.1.0

Ruby version

3.2.0

stevehobbsdev commented 1 year ago

Thanks for your patience here. Can you show me how you are initializing the Lock component, or point me to a repro sample that I can check out?

Thanks

stevehobbsdev commented 1 year ago

Closing for now but if you have anything further to share on your scenario, please feel free to respond.