#auth0

/

      • rolodato
        did you install all the composer dependencies?
      • they’re installed in the current directory, not globally
      • merge-py joined the channel
      • merge-py
        @pose - We were working on an issue with user login before the new year. I have some additional information to share.
      • rolodato
        merge-py: I think pose’s AFK for a while
      • you can reach him at pose@auth0.com if you like
      • jhonroa has quit
      • Fadafido
        yes I installed it in the folder
      • rolodato
        does that file exist? /Applications/MAMP/htdocs/vendor/autoload.php
      • if it does, it might be a permissions issue
      • eugeniopace_ joined the channel
      • Fadafido
        no
      • I am not sure from where to get this file
      • rolodato
        that should be installed automatically by composer
      • merge-py
        I will ask my question to the group...
      • We have a set of users that are having trouble logging in to our application. They are having this issue in IE8 and Chrome. I had them try and navigate to https://app.auth0.com/login to verify they can reach Auth0. They just see a blank gray screen. They do not see the login dialog. Any thoughts?
      • rolodato
        are they seeing any JS errors or falied requests in dev tools?
      • merge-py: most likely this is a network or configuration issue
      • merge-py
        I can post a screenshot of Chrome + Devtools Network trace when accessing https://app.auth0.com/login
      • rolodato
        yes, that would be helpful
      • merge-py
        OK
      • rolodato
        any JS errors under Console would help too
      • merge-py
        OK -- I don't have those :-(
      • could request them if helpful
      • rolodato
        any errors under Console?
      • merge-py
        What type of network issue could it be?
      • rolodato
        I’m not sure yet, I’d need to see what errors are being shown
      • I can see from that screenshot that there are 3 JS errors in the console :)
      • merge-py: could you ask that user to try again in incognito mode?
      • merge-py
        I did have them use Incognito before. Still the same issue.
      • rolodato
        if you could send over the Console errors, that’d be helpful
      • merge-py
        I have asked the user to do that.
      • rolodato
        thanks
      • Fadafido
        Hi
      • I am sorry
      • but the autoload.php is not there
      • even with the php api that is working
      • installing composer did not create vendor/autoload.php
      • rolodato
        Fadafido: could you run “find .” in the MAMP directory where you put the seed project?
      • that will output a list of all the files in the directory and subdirectories
      • and post the output here, of course :)
      • Fadafido
        hhhh
      • I found Autoloader.php
      • but no autoload.php
      • rolodato
        could you send me the full output?
      • Fadafido
        found it
      • finally
      • worked
      • thanks rolodato
      • rolodato
        great!
      • where was it?
      • Patrick213 joined the channel
      • Fadafido
        in the old folder of the project
      • Patrick213
        Looking for some help on getting linkedin hooked with using the auth0 angular api and custom login.
      • Fadafido
        but not sure why it created there while I run the composer in other folders too
      • rolodato
        I believe if you install all the composer dependencies it should create the autoload file
      • Fadafido
        ok
      • eugeniopace_ has quit
      • rolodato
        hi Patrick213, what issues are you facing?
      • Fadafido
        hope I will not face issues when I upload it to godaddy
      • rolodato
        let us know if you do, we’ll help you out :)
      • Patrick213
        Hey rolodata, So I've been following the api document and have a button which makes a call to the linked in connection using the popup. Auth0 in the client will show me that the user was able to log in with linked but on the callback in the popup I get a "oops page".
      • It basically blows up in the popup window and it forces you to close it which causes it to go through the loginFailure route
      • rolodato
        does this only fail for linkedin, or are you using any other provider?
      • Patrick213
        fails for google too
      • popup shows Oops! Looks like something went wrong!
      • Auth0 dashboard says that I just logged in using linkedin....
      • Soooo it almost works :)
      • In Auth0, connections tab, social, all are checked "on"
      • Do I have to do something in the "settings", "allowed callback URLs?
      • rolodato
        have you set an allowed callback URL for your app?
      • Patrick213
        authProvider.init has "callbackURL: location.href"
      • rolodato
        in the Auth0 dashboard, I mean
      • Patrick213
        Is that where I set that?
      • merge-py has quit
      • I'm guessing the issue is the callback...
      • rolodato
        you’ll need to add your app’s URL to the list of “allowed callback URLs”
      • merge-py joined the channel
      • Patrick213
        did that
      • rolodato
        could you PM me your Auth0 domain name?
      • Patrick213
        Do I need to allow "login.auth0.com" as one of them?
      • rolodato
        no, that’s not necessary
      • Patrick213: thanks, let me check
      • nikivancic joined the channel
      • nikivancic
        Hi, I have a question on the most basic angular auth sample that autogenerated for me
      • The file auth0-variables defines the "var AUTH0_CALLBACK_URL=location.href;"
      • At the same time, my registered URL is "http://petcms.congral.org"
      • what is the relationship between my registered URL and this AUTH0_CALLBACK_URL???
      • pose
        Hi Nik, by registered URL you mean Allowed Callback URL?
      • nikivancic
        Yes, the Allowed Callback URLs from my settings page
      • pose
        location.href is a shorthand to say "the URL where this page is being displayed in the browser"
      • it's full name is window.location.href
      • nikivancic
        Further, the seed sample's readme says Go to http://localhost:3000 and you'll see the app running :).
      • pose
        if you are displaying/hosting your page at any of the Allowerd Callback URLs it will work transparently
      • nikivancic
        This is not compatible with my Allowed Callback URL
      • pose
        Yes, you need to add <http://localhost:3000>; to your Allowed Callback URLs
      • It won't work out-of-the-box unfortunately for security reasons
      • nikivancic
        OK, I missed the (obvious) fact that I can have multiple allowed callbacks
      • pose
        It's not obvious at all, we can do a better job at that UX :simple_smile:
      • nikivancic
        So, to be sure: do I leave the var AUTH0_CALLBACK_URL=location.href; as is in the auth0-variables.js file as is, or do I substitute the location.href
      • with one of the allowed callbacks? (in other words, is the location.href object "known" to angular?
      • pose
        Yes, that object is known to Angular
      • nikivancic
        Darn - that is another place where such explanation would be beneficial :-)
      • pose
        It's basically part of the variables the browser exposes
      • So, if your question is if there is a more Angular-ish way of doing, I'm not sure
      • nikivancic
        I see - the file auth0-variables.js is completely personalized for my situation,
      • pose
        That's right, and it should be altered to reflect your test configuration, your production configuration, and so on.
      • nikivancic
        Would you care if I get you a document that describes how to run this basic sample in a more angular way with the special focus on running it
      • pose
        Some customers replace that file on compile time with the actual values. So, in your case you can set AUTH0_CALLBACK_URL= "<http://petcms.congral.org>"
      • Fadafido has quit
      • nikivancic
        on Windows IIS?
      • pose
        Sure, I'd love to see that :smile:
      • nikivancic
        OK Eugenio, I will get you that as well as a lot of other stuff I discussed with "rolodato" earlier. I would like to see a lot more friendly interface
      • to Windows IIS folks like me
      • pose
        hehe, this is Alberto Pose, :simple_smile: but he's Pace and me Pose, so it's ok
      • But don't worry, I'll let him know
      • nikivancic
        You may check with Rodrigo as I stated a very strong interest to help auth0 as much as I can
      • rolodato
        I can vouch for that, and we appreciate it a lot :)
      • pose
        Yes, I'm up to date with that but our system prevented to see the attached images
      • nikivancic
        Sorry for swapping Alberto with Eugenio - I "know" both of you and like auth0 a lot
      • pose
        No problem at all :simple_smile:
      • nikivancic
        Long time ago I had many good discussions with Matthias
      • So, expect many emails with structured information from me - which I will send to rodrigo's direct email as my screenshots are mangled by your support
      • email address
      • rolodato
        nikivancic: actually, that same email was butchered by our tool beforehand :(
      • the image links are all at the bottom, so it’s hard to understand the email by reading it directly
      • nikivancic
        which is why I sent you the same message to your email address Rodrigo
      • rolodato
        that’s odd, I saw it the same way in my own inbox (gmail)
      • nikivancic
        Now, let me see if I can make sense from the basic angularjs sample - and then dive some more
      • I used outlook to write that email, so it must have some special tricks to ensure that all images are displayed at proper locations
      • Is there any safe way that I can get you my feedback with images at right places? Can you read "markdown" files?
      • rolodato
        yes, markdown is perfect
      • sorry we have to waste so much time on such a simple problem :)
      • nikivancic
        Done - thank you both Alberto and Rodrigo for your time
      • rolodato
        thanks to you Nik :)
      • pose
        Thanks to you Nik, have a great day!
      • nikivancic
        My next email will have a markdown file with suggestion for the basic angularjs sample
      • It seems that folks from Argentina have terrific attitude
      • rolodato
        hahah
      • nikivancic has quit
      • eugeniopace_ joined the channel
      • merge-py
        @rolodato I have a screenshot of the console errors
      • rolodato
        that’s great!
      • merge-py
      • rolodato
        that’s unusual, let me take a look
      • merge-py: are your users behind a proxy?
      • any kind of proxy, really