Closed Marsi591 closed 1 year ago
@Marsi591 one issue is due to your mongodb connection string. Can you please provide it so we can check it.
@tuba8890 @RjManhas MONGO_URI=mongodb+srv://secret:secret@cluster0.wi92so6.mongodb.net/?retryWrites=true&w=majority
I see the issue with this connection string try to remove the stuff after the /? Part and add /site
On Mon, Oct 2, 2023 at 12:55 PM Marsi @.***> wrote:
@tuba8890 https://github.com/tuba8890 @RjManhas https://github.com/RjManhas MONGO_URI=mongodb+srv://secret: @.***/?retryWrites=true&w=majority
— Reply to this email directly, view it on GitHub https://github.com/tuba8890/AccountGen/issues/3#issuecomment-1743585583, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4BZDNPAURET6MUEDPCRLQDX5MEY3AVCNFSM6AAAAAA5NXZN3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTGU4DKNJYGM . You are receiving this because you were mentioned.Message ID: @.***>
yep it worked thx and how do i fix the discord oauth thing? @RjManhas and thx for the fast response
I will have to wait in tell I get home to see since I’m using my email to respond on my phone lol
On Mon, Oct 2, 2023 at 12:58 PM Marsi @.***> wrote:
yep it worked thx and how do i fix the discord oauth thing?
— Reply to this email directly, view it on GitHub https://github.com/tuba8890/AccountGen/issues/3#issuecomment-1743590449, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4BZDNKZPQTL7A7XPVWYAWDX5MFGNAVCNFSM6AAAAAA5NXZN3SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBTGU4TANBUHE . You are receiving this because you were mentioned.Message ID: @.***>
yep ok
Are you home @RjManhas ?
make sure you have your client id and secret from your discord app set right.
yea i have like it isnt hard to do that @RjManhas i left the last 2 digits of the secret
@RjManhas can you pls help me
what does your redirect look like and are you self hosting it?
@RjManhas Like this localhost:8080/callback/ tried it with an domain too but it's not working for me and im self hosting it currently
@RjManhas I think it has something to do with the code i tried it on an other application it worked completely fine
@Marsi591 im running it right now https://account.artaxnetwork.com it works fine you just dont got it setup right. try adding this too http://localhost:8080/callback
Ok let me try
still not working😢
i made it work @RjManhas thx
@RjManhas try to create an generator
nvm was to dumb
Hey im getting this Error when trying to Access the site
ERROR:Start:Exception on / [GET] Traceback (most recent call last): File "D:\Python\Python38\lib\site-packages\flask\app.py", line 2190, in wsgi_app response = self.full_dispatch_request() File "D:\Python\Python38\lib\site-packages\flask\app.py", line 1486, in full_dispatch_request rv = self.handle_user_exception(e) File "D:\Python\Python38\lib\site-packages\flask\app.py", line 1484, in full_dispatch_request rv = self.dispatch_request() File "D:\Python\Python38\lib\site-packages\flask\app.py", line 1469, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) File "C:\Users\Marsi\Desktop\source\Start.py", line 76, in index siteSettings = mongo.db.site.find_one({"_id": "1"}) AttributeError: 'NoneType' object has no attribute 'site'
and when directly going to localhost:8080/login i get an unvalid oauth error