I'm using fastapi, it's pretty good, and I can easily manage the role based auth using Depends method from fastapi.
In the casdoor-python-vue-sdk-example, it's flask using sessions as a way for auth. Didn't find any useful info for fastapi devs.
I'm not a pro programmer, so I'm learning and coding, can't find any guides for fastapi and cardoor sdk examples yet, any guidance so I can use fastapi oauth as easy as this demo: https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt/
Hi there.
I'm using fastapi, it's pretty good, and I can easily manage the role based auth using
Depends
method from fastapi.In the
casdoor-python-vue-sdk-example
, it's flask using sessions as a way for auth. Didn't find any useful info for fastapi devs.I'm not a pro programmer, so I'm learning and coding, can't find any guides for fastapi and cardoor sdk examples yet, any guidance so I can use fastapi oauth as easy as this demo: https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt/
much appreciated.