Create a centralized Authentication and Authorization token server. Easily secure FastAPI endpoints based on Users, Groups, Roles or Permissions with very little database usage.
This PR expands Cookie CORS Usability by enabling secure=True to EasyAuthServer.create( and EasyAuthClient.create( factory methods. EasyAuthServer.create(also has a new optional argumentprivate_key` which can be used to set a private_key at runtime instead of using from from or generating a new key pair.
Cookie CORS improvments
added new EasyAuthServer & EasyAuthClient create parameters for cookie-security, secure=True|False(Default) will determine whether the set-cookie header also contains secure flag to ensure usage on https connections as well as removing SameSite requirements lax -> none for secure=True.
JWT - Key Changes
Added new argument to EasyAuthServer for private_key, which expects a JSON string of a generated EasyAuth private key, allowing for input from external secret sources at runtime
Description
This PR expands Cookie CORS Usability by enabling
secure=True
toEasyAuthServer.create(
andEasyAuthClient.create(
factory methods. EasyAuthServer.create(also has a new optional argument
private_key` which can be used to set a private_key at runtime instead of using from from or generating a new key pair.Cookie CORS improvments
JWT - Key Changes