dudil / fastapi_msal

A FastAPI Plug-In to support authentication authorization using the Microsoft Authentication Library (MSAL)
MIT License
43 stars 20 forks source link

Fix redirect uri type as the URL is serializable to String #25

Closed reastyn closed 1 year ago

reastyn commented 1 year ago

As seen with issue https://github.com/dudil/fastapi_msal/issues/23 the API of fastapi changed to return starlette.datastructures.URL instead of string. This serializes the URL to string and is backwards compatible with the older version as well.

dudil commented 1 year ago

Thank you for that change. I'll start working on moving forward the module with latest changes in fastapi and pydantic

reastyn commented 1 year ago

Thanks a lot, I got it working with just this one change. Would you please also publish the changes to the pypi package? Thanks a lot for your work!