Sha256: b3e714347f8991714caf08fb86c9f8df91d821131bfdf436c4bd497e8c3903bf

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 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 profile'
	  	}
	});
}

Version data entries

1 entries across 1 versions & 1 rubygems

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