#bookbrainz

/

      • pinkman7009 has quit
      • 2023-02-04 03503, 2023

      • kellnerd joined the channel
      • 2023-02-04 03545, 2023

      • Aqib joined the channel
      • 2023-02-04 03542, 2023

      • ArjunM joined the channel
      • 2023-02-04 03519, 2023

      • Aqib has quit
      • 2023-02-04 03509, 2023

      • ArjunM has quit
      • 2023-02-04 03551, 2023

      • smach joined the channel
      • 2023-02-04 03507, 2023

      • smach has quit
      • 2023-02-04 03552, 2023

      • ArjunM joined the channel
      • 2023-02-04 03539, 2023

      • Aqib joined the channel
      • 2023-02-04 03528, 2023

      • kellnerd has quit
      • 2023-02-04 03540, 2023

      • ArjunM has quit
      • 2023-02-04 03548, 2023

      • Aqib has quit
      • 2023-02-04 03538, 2023

      • Aqib joined the channel
      • 2023-02-04 03558, 2023

      • Aqib
        Hey everyone !!
      • 2023-02-04 03510, 2023

      • Aqib
        I am running bookbrainz website on localhost : 9099 and facing a problem
      • 2023-02-04 03530, 2023

      • Aqib
        The problem is I want to go the users achivements tab and I am not able to navigate their
      • 2023-02-04 03549, 2023

      • Aqib
        can anyone help me plz...
      • 2023-02-04 03554, 2023

      • pbryan
        Aqib, you can't navigate there. You click on the tab and...?
      • 2023-02-04 03512, 2023

      • Aqib
        Let me explain the problem ... suppose i want to navigate my achivements but for that reason first i have to sign in or register but in the both case when i click on the sign in  button a prompt will be shown for entering username and passwords
      • 2023-02-04 03554, 2023

      • Aqib
        What should I do next ?
      • 2023-02-04 03527, 2023

      • Aqib
        and Also if I am trying to sign in with my musicbrainz.org's username and password it will not sign in rather than the prompt will displayed again
      • 2023-02-04 03536, 2023

      • Aqib
        The reason behind all of these is I want to work on this issue https://tickets.metabrainz.org/browseBB-425 but first i have to go to my profile-achievement page and i need to login for that.
      • 2023-02-04 03537, 2023

      • BrainzBot
        BB-425: Achievements page can be improved https://tickets.metabrainz.org/browse/BB-425
      • 2023-02-04 03553, 2023

      • Aqib9 joined the channel
      • 2023-02-04 03520, 2023

      • Aqib9 has quit
      • 2023-02-04 03558, 2023

      • Aqib59 joined the channel
      • 2023-02-04 03500, 2023

      • Aqib59 has quit
      • 2023-02-04 03512, 2023

      • Aqib97 joined the channel
      • 2023-02-04 03508, 2023

      • Aqib has quit
      • 2023-02-04 03500, 2023

      • Aqib97 has quit
      • 2023-02-04 03518, 2023

      • Aqib joined the channel
      • 2023-02-04 03529, 2023

      • pbryan
        Aqib, so the problem if I understand is you can't log into your local BookBrainz instance?
      • 2023-02-04 03542, 2023

      • Aqib
        Yes
      • 2023-02-04 03540, 2023

      • pbryan
        Do you see any error messages in your Docker container? Possibly regarding OAuth?
      • 2023-02-04 03514, 2023

      • Aqib
        I set up manually by installing postegresql, redis, and elasticsearch
      • 2023-02-04 03505, 2023

      • pbryan
        OK, have you setup OAuth?
      • 2023-02-04 03527, 2023

      • Aqib
        No
      • 2023-02-04 03528, 2023

      • pbryan
        You'll need to set that up.
      • 2023-02-04 03551, 2023

      • pbryan
      • 2023-02-04 03557, 2023

      • pbryan
        No, don't see that.
      • 2023-02-04 03503, 2023

      • pbryan
      • 2023-02-04 03547, 2023

      • Aqib
        ok do you mean that config.json file ??
      • 2023-02-04 03509, 2023

      • pbryan
        Yes, but particularly the part that says, “If you want to be able to sign-up and edit, you will need to set up authentication under musicbrainz. To get the clientID and clientSecret tokens, head to MusicBrainz and register a new developer application.”
      • 2023-02-04 03517, 2023

      • Aqib
        Yes I did set up that file and fill up the requirements like clientID and Secret tokens\
      • 2023-02-04 03537, 2023

      • pbryan
        So, you registered a developer application in musicbrainz?
      • 2023-02-04 03543, 2023

      • Aqib
        Yes
      • 2023-02-04 03555, 2023

      • pbryan
        Hmm.
      • 2023-02-04 03525, 2023

      • pbryan
        And when you try to login, what do you see in the browser?
      • 2023-02-04 03545, 2023

      • Aqib
        Is it easy to work with docker ??
      • 2023-02-04 03509, 2023

      • pbryan
        Well that's advertised as the easiest way.
      • 2023-02-04 03525, 2023

      • pbryan
        It depends on how experienced you are with all of the components that need to run.
      • 2023-02-04 03545, 2023

      • pbryan
        If you're comfortable with PostgreSQL, yarn, etc. Running it directly should be fine.
      • 2023-02-04 03510, 2023

      • Aqib
        https://beta.musicbrainz.org/oauth2/authorize?res… <my client Id >     in this blank page will redirects me a prompt shows to enter the username and password
      • 2023-02-04 03513, 2023

      • pbryan
        OK, and you login?
      • 2023-02-04 03545, 2023

      • Aqib
        when I enter the username and password and sign in the prompt will show me again .. and if i cancel this it will redirect to the musicbrainz.org page and there was an error which is invalid_client
      • 2023-02-04 03504, 2023

      • pbryan
        What did you set your callback URL to when you registered your application?
      • 2023-02-04 03514, 2023

      • Aqib
        Means ?
      • 2023-02-04 03541, 2023

      • pbryan
        You registered an application in MusicBrainz, to get the client_id? You had to specify a callback URL when registering it.
      • 2023-02-04 03518, 2023

      • pbryan
        If you go to MusicBrainz, you can "edit" your registered application to see what the callback URL is set to.
      • 2023-02-04 03525, 2023

      • Aqib
      • 2023-02-04 03532, 2023

      • pbryan
        OK, that looks good.
      • 2023-02-04 03558, 2023

      • pbryan
        So, you are redirected to beta.musicbrainz.org, you type in your username and password, and it asks you again for your username and password?
      • 2023-02-04 03532, 2023

      • Aqib
        Yes
      • 2023-02-04 03550, 2023

      • pbryan
        Do you see the HTTP requests to your local node instance when this happens?
      • 2023-02-04 03536, 2023

      • pbryan
        In particular, I'm curious to know if it's redirecting back to http://localhost:9099/cb.
      • 2023-02-04 03553, 2023

      • Aqib
        how can i see these HTTP requests
      • 2023-02-04 03548, 2023

      • pbryan
        Probably the easiest way to follow the flow is to watch the network requests in your browser's developer tools.
      • 2023-02-04 03517, 2023

      • pbryan
        You should see your local instance sending a redirect request to musicbrainz, then you login, then you should see it sending a redirect back to your local instance.
      • 2023-02-04 03552, 2023

      • Aqib
        the http requests is
      • 2023-02-04 03553, 2023

      • Aqib
      • 2023-02-04 03533, 2023

      • Aqib
        no it's not redirecting back to http://localhost:9099/cb.
      • 2023-02-04 03511, 2023

      • pbryan
        OK. Can you confirm that the client_id you pasted in that URL exactly matches the client ID of your registered application?
      • 2023-02-04 03548, 2023

      • Aqib
        Yes
      • 2023-02-04 03514, 2023

      • Aqib
        It's the same client_id
      • 2023-02-04 03536, 2023

      • pbryan
        OK. Well, I'm starting to run out of ideas.
      • 2023-02-04 03556, 2023

      • pbryan
        The redirect URL to MusicBrainz to get the OAuth token looks right to me.
      • 2023-02-04 03556, 2023

      • Aqib
        Can I set up the local env with using docker ?
      • 2023-02-04 03517, 2023

      • pbryan
        Sure, you can try that but the problem seems to be MusicBrainz's handling of your OAuth request.
      • 2023-02-04 03528, 2023

      • pbryan
        But sure, give that a try.
      • 2023-02-04 03530, 2023

      • pbryan
        If it still doesn't work, I think monkey is back on Monday, and should be able to help.
      • 2023-02-04 03530, 2023

      • Aqib
        Ok but when i was tried this set up at localhost:9099 it says postgresql is not found can you help me with this prb??
      • 2023-02-04 03558, 2023

      • Aqib
        I used docker desktop in wsl
      • 2023-02-04 03540, 2023

      • Aqib
        and in docker i saw that everything was running including postgresql
      • 2023-02-04 03508, 2023

      • pbryan
        Could you paste the error message you're getting?
      • 2023-02-04 03514, 2023

      • Aqib
        No, At now i can't
      • 2023-02-04 03526, 2023

      • Aqib
        it tooks time to set it up again because of the downloads
      • 2023-02-04 03550, 2023

      • pbryan
        Hmm, will be hard to diagnose without an error message.
      • 2023-02-04 03537, 2023

      • Aqib
        Ok when I complete this set up if i am getting tis  error message i will get back to you
      • 2023-02-04 03516, 2023

      • Aqib
        Btw I'm curious to know about yourself
      • 2023-02-04 03515, 2023

      • pbryan
        What would you like to know? 🙂
      • 2023-02-04 03551, 2023

      • Aqib
        Anything which you want to share like where are you from and all that
      • 2023-02-04 03502, 2023

      • Aqib
        I saw a Youtube video of monkey where I got to know about him .
      • 2023-02-04 03546, 2023

      • pbryan
        I'm an old-timer MusicBrainz editor, who recently started contributing to the BookBrainz dataset, focusing largely to include works in the public domain.
      • 2023-02-04 03533, 2023

      • pbryan
        In my real life, I'm a software developer.
      • 2023-02-04 03503, 2023

      • Aqib
        that's impressive
      • 2023-02-04 03515, 2023

      • pbryan
        Thanks. 🙂
      • 2023-02-04 03520, 2023

      • pbryan
        How about you?
      • 2023-02-04 03528, 2023

      • Aqib
        I'm a 2nd year grad CSE student and willing contribute my learning knowledges to open source projects
      • 2023-02-04 03529, 2023

      • pbryan
        That's great. Thanks for getting involved!
      • 2023-02-04 03556, 2023

      • Aqib
        Basically I'm a explorer , I love to try different things and meeting new peoples .
      • 2023-02-04 03523, 2023

      • Aqib
        ohh! actually I'm blessed to having mentors like you and all
      • 2023-02-04 03507, 2023

      • Aqib
        so Thank you
      • 2023-02-04 03508, 2023

      • Aqib has quit
      • 2023-02-04 03527, 2023

      • Aqib joined the channel
      • 2023-02-04 03551, 2023

      • Aqib has quit
      • 2023-02-04 03510, 2023

      • pinkman7009 joined the channel