Sha256: adb16be6959249dfd8f68a901afdd34750aafda2885a26fc457d14ee12b33fed

Contents?: true

Size: 405 Bytes

Versions: 2

Compression:

Stored size: 405 Bytes

Contents

var lock = new Auth0Lock('<%= Rails.application.secrets.auth0_client_id %>', '<%= Rails.application.secrets.auth0_domain %>');
function signin() {
	lock.show({
	    callbackURL: 'http://localhost:3000/auth/auth0/callback', // use this in production  '<%= Rails.application.secrets.auth0_callback_url %>'
	    responseType: 'code', 
	    authParams: {
	    	scope: 'openid name email picture'
	  	}
	});
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
omniauth-auth0-1.4.2 examples/ruby-on-rails-webapp/app/assets/javascripts/home.js.erb
omniauth-auth0-1.4.1 examples/ruby-on-rails-webapp/app/assets/javascripts/home.js.erb