@heroku/torii-provider-heroku

    0.1.3 • Public • Published

    Heroku Torii Provider

    Usage

    add torii-provider-heroku to your Ember app

    npm install --save heroku/torii-provider-heroku
    

    Include the mixin in your app/routes/application.js file

    import Ember from 'ember';
    import HerokuAuthable from '@heroku/torii-provider-heroku/mixins/heroku-authable';
     
    export default Ember.Route.extend(HerokuAuthable, {
     
    });
     

    redirect

    By default, attempting to access a protect route as an unauthenticated user will trigger a redirect to id.heroku.com

    {{link-to 'click to visit a protect routed and be redirected to Identity' 'some-protected-route'}}

    // TODO figure out a way to popup/iframe here

    pop-up

    <button {{action 'loginToHeroku'}}>click to authenticate in a pop-up</button>

    iframe

    // TODO explain how to toggle between pop-up and iframe

    Keywords

    Install

    npm i @heroku/torii-provider-heroku

    DownloadsWeekly Downloads

    6

    Version

    0.1.3

    License

    MIT

    Unpacked Size

    13.1 kB

    Total Files

    13

    Last publish

    Collaborators

    • panyambhagya
    • juliano.martinez
    • lhoang
    • sam-burden-heroku
    • grismar17
    • gsinghsfdc
    • ashishmargam
    • brockspratlen
    • jvinil05
    • mhale_salesforce
    • ryanbrainard
    • srout03
    • jabrown85
    • bdjohnso
    • mars
    • wfarrington
    • k.parnell
    • dmcinnes
    • jessieheroku711
    • tholschuh-salesforce
    • dzuelke
    • stellacotton
    • zunda
    • mttr
    • tbalthazar
    • jntullo
    • amerine
    • jdowning
    • klockwood
    • eblack
    • alouie-sfdc
    • mimen
    • beanieboi
    • elbandito
    • halorgium
    • jsullivandigs
    • nlanatta
    • codefinger
    • rcourtois
    • kdreyeroren
    • dstarner
    • heroku-hit
    • jlopezdan
    • heroku-dod-npm
    • troelsthomsen
    • dreichenberg
    • rasphilco
    • jmorrell
    • hpriya16
    • mwoods79
    • superhighfives
    • archa347
    • christopher.jose
    • nombie_zinja
    • jahnavi_barma
    • sarahoh2468
    • smuppavarapu
    • yann_ck
    • joshwlewis
    • retheshpradhan
    • amandadolan
    • hone
    • kstonesf
    • rcross
    • jsalaz
    • tevanoff
    • pbalchin-heroku
    • mble-sfdc
    • gwinter
    • mklinger
    • schneems
    • mbuschheroku
    • subakva
    • wchrisjohnson
    • friism
    • jmccartie
    • vjohne
    • jordaneekey
    • sheax0r
    • reidmix
    • niklasrichardson
    • karuna123
    • treznick
    • scureton
    • astojanovic
    • rchanda
    • taylor.jones
    • vishvananda
    • dhavalthakkar93
    • csinghaus-sfdc
    • imtayadeway
    • andscoop
    • breeldo
    • stevenharman
    • code0100fun
    • johndalton
    • rchimal
    • 7ftz
    • ymiyake
    • edmorley
    • johlym
    • lsorstokke
    • hsophie-sf
    • jsoyland
    • chadian
    • mark.newell
    • iriberri
    • mwhagedorn_h
    • uchi_mata
    • ssetayeshfar
    • mnorth
    • jbousiquotheroku
    • sghaffar
    • abernicchia
    • bigaluk
    • mrmicahcooper
    • chrismarino
    • w.griggs
    • ssherbondy77
    • zhang.l
    • julianduque
    • sripad.kulkarni
    • dzhuo
    • sudayavarman
    • santoshbandari7
    • vishalr7
    • chandana_anumula
    • baliles
    • mpsenn
    • cwallsf
    • xander-salesforce
    • rkotti
    • vazexqi
    • zli-sf
    • hangzhousfdc
    • kbarbersf
    • p.smith
    • malax
    • paulyfleming
    • sasikanth.bontha
    • mohammadfazil.shaik
    • dhagberg-sf
    • voidlock
    • aoriada
    • ebulman
    • pchittum
    • marcusblankenship
    • udeb
    • stelang
    • tetsuya_
    • borncrusader
    • pallavi.rao
    • kotutuloro
    • ntonollier
    • valeriecodes
    • slizco
    • bmukund
    • harish.457
    • ruohan.zhang
    • jonathankenbrown
    • lcalermo
    • yuriyl
    • yangsu-heroku
    • gnetter
    • kristinfoss
    • sabayanathan
    • securamos
    • fernomac
    • jwperry
    • rhys-sdfc
    • dboston
    • nkoziuk
    • sambradford
    • mcraviotto
    • michaelbiven
    • pfuente
    • lincoln.stoll
    • pal-d
    • brittany.jones
    • adalton
    • beckychen
    • bhawnaheroku
    • kirkchung
    • hkii
    • elimchaysengsf
    • bdenton
    • tij005
    • animje
    • vivek.viswanathan
    • ashishpatel0
    • eleary
    • cgfuh
    • kmendu
    • vrustagi
    • svelivela
    • salesforce-releases
    • via7aazfntqmqqi
    • marcelsfdc
    • caiten.white
    • amphro
    • codydemartin
    • daebumlee
    • nlamt
    • paguilar
    • nrisaro
    • nrenke
    • araja
    • mgomes
    • matthew.rossi
    • bleong
    • sarassassin