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!
@codingcrashcourses8533 Жыл бұрын
Thank you so much :-)
@awakenwithoutcoffee3 ай бұрын
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.
@codingcrashcourses85333 ай бұрын
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.
@1977spaul7 ай бұрын
route conversation is giving error "401 Unauthorised". How to debug the same.
@codingcrashcourses85337 ай бұрын
You probably just did not use the token for the tokenpoint
@avikhandakar Жыл бұрын
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?
@codingcrashcourses8533 Жыл бұрын
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
@wahi808 ай бұрын
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
@codingcrashcourses85338 ай бұрын
No, sorry :(
@awakenwithoutcoffee3 ай бұрын
Auth0 can be an option!
@sathishKumar-wb6sl8 ай бұрын
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.
@codingcrashcourses85338 ай бұрын
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 :)
@sathishKumar-wb6sl7 ай бұрын
@@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.
@codingcrashcourses85337 ай бұрын
@@sathishKumar-wb6sl then you wont get a token and won´t be able to access the endpoints which require authentication
@sathishKumar-wb6sl7 ай бұрын
@@codingcrashcourses8533 perfect, understood. Appreciate all your help. Definitely you're going to big and make others as well. My best wishes to you ❤️
@sanmesh327 Жыл бұрын
hey, thanks a lot! this video really help me to get understand. just let me know which packages/modules need to be install first.
@sanmesh327 Жыл бұрын
just let me know which libraries need to be installed, because this is my one of internship task, I need to complete today only 😄
@codingcrashcourses8533 Жыл бұрын
@@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.
@sanmesh327 Жыл бұрын
@@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
@sanmesh327 Жыл бұрын
@@codingcrashcourses8533 In my machine, pyCrypto is not working, so their is any alternative to pycrypto that I can use in project?
@mauriciorondonfajardo420710 ай бұрын
Hi Thank for content. however it doesn't work.
@codingcrashcourses853310 ай бұрын
Be more specific please
@mauriciorondonfajardo420710 ай бұрын
@@codingcrashcourses8533 excuseme, I was install wrong of depencies.