#auth0

/

      • DougF has quit
      • oncenull joined the channel
      • iaco joined the channel
      • oncenull has quit
      • woloski has quit
      • iaco has quit
      • cultofmetatron64 has quit
      • jfroma has quit
      • oncenull joined the channel
      • oncenull has quit
      • cultofmetatron64 joined the channel
      • cultofmetatron64 has quit
      • oncenull joined the channel
      • oncenull has quit
      • pezza joined the channel
      • pezza has quit
      • oncenull joined the channel
      • oncenull has quit
      • oncenull joined the channel
      • oncenull has quit
      • rob_curtis joined the channel
      • rob_curtis
        Hi, with active directory login, and using the login widget and I'm on the network, it somehow "detects" that I'm on the network. and says "you are connected from your corporate network". How is this done? Is it via IP of the ldap connector or the fact that the machine is on the domain?
      • Steven_OxfordEco joined the channel
      • oncenull joined the channel
      • oncenull has quit
      • Steven_OxfordEco has quit
      • Hi
      • anyone here?
      • Also interested in why this code doesn't automatically login active directory users who previously logged in
      • widget.getClient().getSSOData(function(err, ssodata) {
      • // if there is an SSO session, auto-login
      • if (ssodata.sso) {
      • widget.getClient().login({connection: ssodata.lastUsedConnection.name});
      • }
      • });
      • ?
      • oncenull joined the channel
      • oncenull has quit
      • oncenull joined the channel
      • jfroma joined the channel
      • Has the syntax for setting up the widget changed?
      • ah
      • there's login-widget and login-widget2
      • I assume 2 is the latest and greatest/
      • ?
      • jfroma
      • rob_curtis
        ah, that 'light blue' "this is deprecated" is pretty easy to miss
      • big red text - font size 30 would be appreciated
      • :)
      • jfroma
        we are currently working on the next version which is in beta
      • rob_curtis
        ok, thanks
      • under connections, I can't seem to open the setup options for active directory anymore
      • edit works
      • but setup not working
      • jfroma
        rob_curtis: one sec, let me check
      • rob_curtis: yes, it seems ir broken, we will fix it ASAP
      • rob_curtis
        I just inspected, got the url, so no biggy
      • heliton joined the channel
      • heliton
        hello
      • I've followed the https://github.com/auth0/auth0-angular tutorial, but angular 1.3 can't load the auth0 module, auth0 works with angular 1.3?
      • pose
        heliton, I don't think we've tried it on 1.3. what error ar eyou getting?
      • jfroma
        heliton: hi
      • oncenull has quit
      • heliton has quit
      • heliton joined the channel
      • oncenull joined the channel
      • heliton has quit
      • yenkel joined the channel
      • woloski joined the channel
      • SofiaRose joined the channel
      • SofiaRose
        Hi all,
      • if im using the node passport strapegy to authorize a app, how can i then get a jwt to query a api?
      • or am i better just using the oauth bearer to query the api
      • ?
      • woloski
        hi Sofia
      • SofiaRose
        a hey hey, sorry for being a pain, this is the last issue ive got, im nearly done :)
      • if im using the node passport strapegy to authorize a app, how can i then get a jwt to query a api?
      • or am i better just using the oauth bearer to query the api?
      • woloski
        one sec
      • SofiaRose
        okays
      • woloski
        you are not a pain, don't worry
      • SofiaRose
        i feel like it, ive had more questions nearly every day for the last 3 weeks
      • woloski
      • see the function(accessToken, idToken, ...
      • second parameter should be
      • SofiaRose
        so the idtoken is the jwt?
      • woloski
        yes
      • SofiaRose
        okay thanks :)
      • woloski
        try that and let me know what you get
      • SofiaRose
        okay
      • dylanwood joined the channel
      • woloski
        because I don't recall exactly if that works as expecte
      • SofiaRose
        okays, just waiting for a vagrant up
      • dylanwood has quit
      • while thats doing that is there any way to allow apps to sign on with 0auth without being able to edit user info?
      • its done starting but i noticed in mine that function reads:
      • function(accessToken, refreshToken, extraParams, profile, done) {
      • return done(null, profile);
      • });
      • which param would it be there?
      • woloski
        refreshToken would be
      • but it doesn't matter how it's called
      • SofiaRose
        okay, it was just because i noticed it had more params than the one on github :)
      • woloski
        yes good point... that's why I wasn't sure
      • let me know what you see in refreshToken and extraParams
      • SofiaRose
        access_token: '10ql9sQLAkDIp6kHH7FLKhf8jltZBrx1TJnWfqvEfi3QkgIyZChV5p6JNrlOzkvc'
      • id_token: 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfaWQiOiJhNDZhMjE3MjI0ODA5NTJkMmI3MzE2NDFkNGFiMTU0YyIsImVtYWlsIjoic29maWFAY29tcG9zaXRldWsuY28udWsiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiY2xpZW50SUQiOiJBTWpOaFN0cFVtbmVMY0RjNjhmT081VVlpakxlYWlIRCIsInBpY3R1cmUiOiJodHRwczovL3NlY3VyZS5ncmF2YXRhci5jb20vYXZhdGFyLzkxNTk5ZGEyNjkxMmU0NmJmMmQ1ZTlhODIyNzQ2YzIxP3M9ND
      • gwJnI9cGcmZD1odHRwcyUzQSUyRiUyRnNzbC5nc3RhdGljLmNvbSUyRnMyJTJGcHJvZmlsZXMlMkZpbWFnZXMlMkZzaWxob3VldHRlODAucG5nIiwidXNlcl9pZCI6ImF1dGgwfDUzZjRhMmI2YzUwNWZlZmE2ZTAwMDMwYyIsIm5hbWUiOiJzb2ZpYUBjb21wb3NpdGV1ay5jby51ayIsIm5pY2tuYW1lIjoic29maWEiLCJpZGVudGl0aWVzIjpbeyJ1c2VyX2lkIjoiNTNmNGEyYjZjNTA1ZmVmYTZlMDAwMzBjIiwicHJvdmlkZXIiOiJhdXRoMCIsImNvbm5lY3Rpb24i
      • OiJVc2VybmFtZS1QYXNzd29yZC1BdXRoZW50aWNhdGlvbiIsImlzU29jaWFsIjpmYWxzZX1dLCJjcmVhdGVkX2F0IjoiMjAxNC0wOC0yMFQxMzoyOToyNi44NTdaIiwiZ2xvYmFsX2NsaWVudF9pZCI6Inc0Z0huQVdZR3Y5bTg1Y2RIWHJmT2dwT09vWjhWS1lHIiwiaXNzIjoiaHR0cHM6Ly9wcm9wZXJ0eXN0b3JrLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHw1M2Y0YTJiNmM1MDVmZWZhNmUwMDAzMGMiLCJhdWQiOiJBTWpOaFN0cFVtbmVMY0RjNjhmT081VVlpak
      • xlYWlIRCIsImV4cCI6MTQwOTI3MDUyOCwiaWF0IjoxNDA5MjM0NTI4fQ.A5eskoCOeUS1Vu-lDNW1RiK0eT8_SxUKjo3ILEvyMzY'
      • refresh token = accesstoken
      • woloski
        so access_token is first param, id_token is second param?
      • SofiaRose
        id token = extraParams
      • second and third params
      • woloski
        ok so from this function(accessToken, refreshToken, extraParams, profile, done)
      • accessToken is 10ql9sQLAkDIp6kHH7FLKhf8jltZBrx1TJnWfqvEfi3QkgIyZChV5p6JNrlOzkvc
      • SofiaRose
        yep
      • woloski
        refreshToken is ??
      • the id_token?
      • or id_token is an element of the extraParams
      • extraParams.id_token
      • SofiaRose
        this is what i did:
      • function(accessToken, refreshToken, extraParams, profile, done) {
      • console.log(refreshToken);
      • console.log(extraParams);
      • return done(null, profile);
      • });
      • refresh token was 10ql9sQLAkDIp6kHH7FLKhf8jltZBrx1TJnWfqvEfi3QkgIyZChV5p6JNrlOzkvc
      • extraParams was the long 1
      • woloski
        console.log(extraParams.id_token)
      • try that
      • SofiaRose
        eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJfaWQiOiJhNDZhMjE3MjI0ODA5NTJkMmI3MzE2NDFkNGFiMTU0YyIsImVtYWlsIjoic29maWFAY29tcG9zaXRldWsuY28udWsiLCJlbWFpbF92ZXJpZmllZCI6dHJ1ZSwiY2xpZW50SUQiOiJBTWpOaFN0cFVtbmVMY0RjNjhmT081VVlpakxlYWlIRCIsInBpY3R1cmUiOiJodHRwczovL3NlY3VyZS5ncmF2YXRhci5jb20vYXZhdGFyLzkxNTk5ZGEyNjkxMmU0NmJmMmQ1ZTlhODIyNzQ2YzIxP3M9NDgwJnI9cGcmZ
      • D1odHRwcyUzQSUyRiUyRnNzbC5nc3RhdGljLmNvbSUyRnMyJTJGcHJvZmlsZXMlMkZpbWFnZXMlMkZzaWxob3VldHRlODAucG5nIiwidXNlcl9pZCI6ImF1dGgwfDUzZjRhMmI2YzUwNWZlZmE2ZTAwMDMwYyIsIm5hbWUiOiJzb2ZpYUBjb21wb3NpdGV1ay5jby51ayIsIm5pY2tuYW1lIjoic29maWEiLCJpZGVudGl0aWVzIjpbeyJ1c2VyX2lkIjoiNTNmNGEyYjZjNTA1ZmVmYTZlMDAwMzBjIiwicHJvdmlkZXIiOiJhdXRoMCIsImNvbm5lY3Rpb24iOiJVc2VybmF
      • tZS1QYXNzd29yZC1BdXRoZW50aWNhdGlvbiIsImlzU29jaWFsIjpmYWxzZX1dLCJjcmVhdGVkX2F0IjoiMjAxNC0wOC0yMFQxMzoyOToyNi44NTdaIiwiZ2xvYmFsX2NsaWVudF9pZCI6Inc0Z0huQVdZR3Y5bTg1Y2RIWHJmT2dwT09vWjhWS1lHIiwiaXNzIjoiaHR0cHM6Ly9wcm9wZXJ0eXN0b3JrLmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHw1M2Y0YTJiNmM1MDVmZWZhNmUwMDAzMGMiLCJhdWQiOiJBTWpOaFN0cFVtbmVMY0RjNjhmT081VVlpakxlYWlIRCIsI
      • mV4cCI6MTQwOTI3MDkyMiwiaWF0IjoxNDA5MjM0OTIyfQ.HjDgRBba3g5sgMBSQyO3kXu3XS6DpJURZGhEL7AQbJ0
      • woloski
        ok that's it then
      • I will add to the tutorial
      • that's the JWT
      • SofiaRose
        okay thanks :)
      • woloski
        thank you!
      • SofiaRose
        and the refresh token is valid with the jwt?
      • woloski
        that's the access token
      • refreshToken should be null/undefined
      • but you only want the id_token (JWT)
      • SofiaRose
        okay thanks :) did you see my other question?
      • woloski
        which one
      • SofiaRose
        while thats doing that is there any way to allow apps to sign on with 0auth without being able to edit user info?
      • woloski
        I don't understand the question
      • SofiaRose
        i want my app to be a oauth provider similar to facebook/twitter, but to allow apps to sign on with 0auth (for example using passport) they would require the secret