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.
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.
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.
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.
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