You're doing a phenomenal job! View count might be low now but the value it adds is incredible. Please keep making and sharing content like these I'm very thankful!
What about using Session-based auth. in favor of JWT ? I'm tasked to solve authorization/authentication and it's a real challenge so far. We have access to "Auth0" but session based examples for python (fast-api) are nowhere to be found.
I don´t have much experience with session based auth, since you need server and client to archieve that. On modern apps, you typically scale horizontally, which makes session based auth very difficult.
Hi, thanks for the tutorial. I have a problem. On latest version of FastApi use pydantic version 2 but langchain required pydantic 1. So i get an error. How can i solve it?
Pydantic was just recently upgraded to 2.x . I currently suggest to downgrade it to version x.x until langchain updates it. Did not have time to take a view at the breaking changes of pydantic 2.x
Thanks much for the great video and explanation. your video has greatly helped me to understand the concept of JWT. However, could you tell me the purpose and use of token post end point. Because without invoking the token endpoint, I'm able to authorize and call the conversation end point successfully.
Yes sure. The token endpoint is there to giving you the credentials, the token. This is what u send in every subsequent request in the request header :)
@@codingcrashcourses8533 thanks much for the Swift response. Just curious to know, what happens when we remove the token end point. Because when we authorise, it's just asking for username and password. Pardon me, if that is already explained. Thanks again.
@@codingcrashcourses8533 perfect, understood. Appreciate all your help. Definitely you're going to big and make others as well. My best wishes to you ❤️
Awesome video, do you have something similar which would use social auth like Google to authenticate and secure the FastAPI endpoints? It will save the pain of maintaining the DB for users
@@sanmesh327 Run pip install pipreqs and run "pipreqs .". This will create you a requirements.txt file from an existing project. For this project FastAPI should be enough in general.
@@codingcrashcourses8533 okay, yes, I've installed general libraries. but getting "failed to build pyCrypto ERROR: Could not build wheels for pyCrypto, which is required to install pyproject.toml-based projects" this error
You're doing a phenomenal job! View count might be low now but the value it adds is incredible. Please keep making and sharing content like these I'm very thankful!
Thank you so much :-)
What about using Session-based auth. in favor of JWT ? I'm tasked to solve authorization/authentication and it's a real challenge so far. We have access to "Auth0" but session based examples for python (fast-api) are nowhere to be found.
I don´t have much experience with session based auth, since you need server and client to archieve that. On modern apps, you typically scale horizontally, which makes session based auth very difficult.
route conversation is giving error "401 Unauthorised". How to debug the same.
You probably just did not use the token for the tokenpoint
Hi, thanks for the tutorial. I have a problem. On latest version of FastApi use pydantic version 2 but langchain required pydantic 1. So i get an error. How can i solve it?
Pydantic was just recently upgraded to 2.x . I currently suggest to downgrade it to version x.x until langchain updates it. Did not have time to take a view at the breaking changes of pydantic 2.x
Thanks much for the great video and explanation. your video has greatly helped me to understand the concept of JWT. However, could you tell me the purpose and use of token post end point. Because without invoking the token endpoint, I'm able to authorize and call the conversation end point successfully.
Yes sure. The token endpoint is there to giving you the credentials, the token. This is what u send in every subsequent request in the request header :)
@@codingcrashcourses8533 thanks much for the Swift response. Just curious to know, what happens when we remove the token end point. Because when we authorise, it's just asking for username and password. Pardon me, if that is already explained. Thanks again.
@@sathishKumar-wb6sl then you wont get a token and won´t be able to access the endpoints which require authentication
@@codingcrashcourses8533 perfect, understood. Appreciate all your help. Definitely you're going to big and make others as well. My best wishes to you ❤️
Awesome video, do you have something similar which would use social auth like Google to authenticate and secure the FastAPI endpoints? It will save the pain of maintaining the DB for users
No, sorry :(
Auth0 can be an option!
hey, thanks a lot! this video really help me to get understand.
just let me know which packages/modules need to be install first.
just let me know which libraries need to be installed, because this is my one of internship task, I need to complete today only 😄
@@sanmesh327 Run pip install pipreqs and run "pipreqs .". This will create you a requirements.txt file from an existing project. For this project FastAPI should be enough in general.
@@codingcrashcourses8533 okay,
yes, I've installed general libraries.
but getting "failed to build pyCrypto
ERROR: Could not build wheels for pyCrypto, which is required to install pyproject.toml-based projects"
this error
@@codingcrashcourses8533 In my machine, pyCrypto is not working, so their is any alternative to pycrypto that I can use in project?
Hi Thank for content. however it doesn't work.
Be more specific please
@@codingcrashcourses8533 excuseme, I was install wrong of depencies.