I am running bookbrainz website on localhost : 9099 and facing a problem
The problem is I want to go the users achivements tab and I am not able to navigate their
can anyone help me plz...
pbryan
Aqib, you can't navigate there. You click on the tab and...?
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
What should I do next ?
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
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.”
Aqib
Yes I did set up that file and fill up the requirements like clientID and Secret tokens\
pbryan
So, you registered a developer application in musicbrainz?
Aqib
Yes
pbryan
Hmm.
And when you try to login, what do you see in the browser?
Aqib
Is it easy to work with docker ??
pbryan
Well that's advertised as the easiest way.
It depends on how experienced you are with all of the components that need to run.
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
pbryan
What did you set your callback URL to when you registered your application?
Aqib
Means ?
pbryan
You registered an application in MusicBrainz, to get the client_id? You had to specify a callback URL when registering it.
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.
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?
Aqib
Yes
It's the same client_id
pbryan
OK. Well, I'm starting to run out of ideas.
The redirect URL to MusicBrainz to get the OAuth token looks right to me.
Aqib
Can I set up the local env with using docker ?
pbryan
Sure, you can try that but the problem seems to be MusicBrainz's handling of your OAuth request.
But sure, give that a try.
If it still doesn't work, I think monkey is back on Monday, and should be able to help.
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??
I used docker desktop in wsl
and in docker i saw that everything was running including postgresql
pbryan
Could you paste the error message you're getting?
Aqib
No, At now i can't
it tooks time to set it up again because of the downloads
pbryan
Hmm, will be hard to diagnose without an error message.
Aqib
Ok when I complete this set up if i am getting tis error message i will get back to you
Btw I'm curious to know about yourself
pbryan
What would you like to know? 🙂
Aqib
Anything which you want to share like where are you from and all that
I saw a Youtube video of monkey where I got to know about him .
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.
In my real life, I'm a software developer.
Aqib
that's impressive
pbryan
Thanks. 🙂
How about you?
Aqib
I'm a 2nd year grad CSE student and willing contribute my learning knowledges to open source projects
pbryan
That's great. Thanks for getting involved!
Aqib
Basically I'm a explorer , I love to try different things and meeting new peoples .
ohh! actually I'm blessed to having mentors like you and all