torii

ember-cli torii and multiple providers

给你一囗甜甜゛ 提交于 2020-01-17 04:42:32
问题 I am trying to set up an authenticator which would be valid for many providers, because in the backend I am using doorkeeper assertion method which handles the whole flow. I have installed: * "ember-cli-simple-auth": "0.8.0-beta.1" * "ember-cli-simple-auth-oauth2": "^0.8.0-beta.2" * "ember-cli-simple-auth-torii": "^0.8.0-beta.2" * "torii": "^0.3.4" I was looking at this issue Workflow for Ember-simple-auth, Torii and Facebook Oauth2 so I could write this: # templates/login <a {{action

ember-cli torii and multiple providers

大憨熊 提交于 2020-01-17 04:42:06
问题 I am trying to set up an authenticator which would be valid for many providers, because in the backend I am using doorkeeper assertion method which handles the whole flow. I have installed: * "ember-cli-simple-auth": "0.8.0-beta.1" * "ember-cli-simple-auth-oauth2": "^0.8.0-beta.2" * "ember-cli-simple-auth-torii": "^0.8.0-beta.2" * "torii": "^0.3.4" I was looking at this issue Workflow for Ember-simple-auth, Torii and Facebook Oauth2 so I could write this: # templates/login <a {{action

Ember-Simple-Auth with Torii access user info

只愿长相守 提交于 2020-01-14 03:46:07
问题 I've been working all week to get authentication working. I have gotten it working with Ember-CLI Ember-Simple-Auth Torii google-oauth2 provider However I have proven unsuccessful in getting the users information from google. I have tried creating a torii-adapter as stated in their documentation but it doesn't appear to be called // app/torii-adapters/application.js export default Ember.Object.extend({ open: function(authorization){ console.log('authorization from adapter', authorization); }

EmberFire Authentication and ToriiFirebaseAdapter

痴心易碎 提交于 2019-12-24 04:19:08
问题 I've followed the EmberFire guide to setting up authentication with the torii provider and it works perfectly. I'm looking to store the users data in firebase after the user has been authenticated and to have access to the user object throughout the application. I have previously done this with ember awhile back but i'm unsure how to do it using the new torii provider. I'm thinking i should test wether the user is already stored in firebase in an initialiser function and then inject the user

Ember-Simple-Auth with Torii access user info

岁酱吖の 提交于 2019-12-07 02:21:27
I've been working all week to get authentication working. I have gotten it working with Ember-CLI Ember-Simple-Auth Torii google-oauth2 provider However I have proven unsuccessful in getting the users information from google. I have tried creating a torii-adapter as stated in their documentation but it doesn't appear to be called // app/torii-adapters/application.js export default Ember.Object.extend({ open: function(authorization){ console.log('authorization from adapter', authorization); } }); I've exhausted my google-foo and am asking for your assistance. This is a great library combination