👉 Join my Python Newsletter Today! ~ thenerdnook.substack.com I'd love to do a special for 10k subscribers! Help me get there and drop a comment for "special" ideas that you guys might like! I'm hoping to hit 10k here with your help soon. 😁 I hope you all have an amazing week ~ Josh
hey Josh, im goin through the tutorial but im getting an error after trying to login with the new button, [2024-11-19 17:55:59,913] ERROR in with_database: Error during login:Missing "authorize_url" value 127.0.0.1 - - [19/Nov/2024 17:55:59] "GET /login/google HTTP/1.1" 500 - do you have and idea?
Hmmm best guess from this side of things is I would check to make sure that authorize_url is set in your OAuth configuration. Another thing I will point out is make sure that everything on Google Cloud Console is setup too, check over the Redirect URI one more time Hope this helps 😁
Heyy thanks for you content! Can you help me with a question? I'm initializing my app in another .py file so I'm wondering if the variable "google = oauth.register()" is actually needed, cause I won't be able to import it to other files. Thanks again.
Hey there, thanks for being here and your comment! While you do not need the 'google' variable itself if you're doing it this way you still need to setup the configuration in your file. You still need to register it all with oauth.register during the point of set up. Hope this helps 😁
It did! Thank you so much. Although I'm having trouble testing the google login and sign up, so problably using simple login and signup methods. Thanks anywayy
Hey, Josh I just completed you python code for beginners and I can now write some basic python programs. What's your recommendation for the next python chapter should I learn.
Before tackling anything too big you want to reinforce what you’ve just learned. I recommend spending some time with game development (PyGame) or App development (PyQt). These are both great to ease into more advanced topics, I have courses on the channel for both of these! The world is your oyster 😁
I'm getting an authorization error. I've looked around and tried different things but can't get a fix. Any advice? Access blocked: Authorization Error The OAuth client was not found. Error 401: invalid_client Request details: flowName=GeneralOAuthFlow
So hard to tell without more context but from the error it seems your configuration is off. Go to the Client Credentials section on Google Cloud and check the configuration along with your client id and secret. Also double the the URI that we created on the backend part of it.
👉 Join my Python Newsletter Today! ~ thenerdnook.substack.com
I'd love to do a special for 10k subscribers! Help me get there and drop a comment for "special" ideas that you guys might like! I'm hoping to hit 10k here with your help soon. 😁
I hope you all have an amazing week
~ Josh
You aré one of the best Python youtubers Josh, greetings from Argentina!
Thank you for the kind words! I’m glad you’re enjoying my videos 😁
Awesome. I’m still going through your flask tutorial but will watch this next 🤝
Awesome, thank you!
Great choice in the opening background music, thanks again for another great topic and the implementation.
Thanks! I’ll switch it up here, try out other intros 😄
hey Josh, im goin through the tutorial but im getting an error after trying to login with the new button,
[2024-11-19 17:55:59,913] ERROR in with_database: Error during login:Missing "authorize_url" value
127.0.0.1 - - [19/Nov/2024 17:55:59] "GET /login/google HTTP/1.1" 500 -
do you have and idea?
Hmmm best guess from this side of things is I would check to make sure that authorize_url is set in your OAuth configuration.
Another thing I will point out is make sure that everything on Google Cloud Console is setup too, check over the Redirect URI one more time
Hope this helps 😁
Please make more good videos like this
More OAuth or more Flask?
@@codewithjoshoffical More Applications on Flask
Heyy thanks for you content! Can you help me with a question? I'm initializing my app in another .py file so I'm wondering if the variable "google = oauth.register()" is actually needed, cause I won't be able to import it to other files. Thanks again.
Hey there, thanks for being here and your comment!
While you do not need the 'google' variable itself if you're doing it this way you still need to setup the configuration in your file.
You still need to register it all with oauth.register during the point of set up.
Hope this helps 😁
It did! Thank you so much. Although I'm having trouble testing the google login and sign up, so problably using simple login and signup methods. Thanks anywayy
awesome !
Thank you!
Is Oauth only for google? Thanks for all the great content
Nope, you can use this with most major platforms. So like Google, LinkedIn, Facebook, etc.
Hey, Josh I just completed you python code for beginners and I can now write some basic python programs. What's your recommendation for the next python chapter should I learn.
Before tackling anything too big you want to reinforce what you’ve just learned.
I recommend spending some time with game development (PyGame) or App development (PyQt).
These are both great to ease into more advanced topics, I have courses on the channel for both of these!
The world is your oyster 😁
It worked!! Btw do you have one for Facebook login?
Yup! I used google but you can use OAuth with FB too, you should check out some of the documentation online 😄
You made this seem easy. Lol 😆
Thanks!
I'm getting an authorization error. I've looked around and tried different things but can't get a fix. Any advice?
Access blocked: Authorization Error
The OAuth client was not found.
Error 401: invalid_client
Request details: flowName=GeneralOAuthFlow
So hard to tell without more context but from the error it seems your configuration is off. Go to the Client Credentials section on Google Cloud and check the configuration along with your client id and secret. Also double the the URI that we created on the backend part of it.
@@codewithjoshoffical the issue ended up being a misspelling. I had GOOLGE_CLIENT_ID in my .env file lol🤦♂