Generate tailored AI prompts to speed up your project and get optimal results.
Write code that integrates the juicyauth service with my backend/api service.I am using python and fastapi.I would like the responses to be in en.You need to verify the JWT token encoded with RS256.The public key is in the script directory in the file public-key.pem.Create example views for both authenticated and unauthenticated users.JWT claims: sub (str, it is user_id), email (str).Define the app_id at the top of the code.It's just for api. Without rendering templates.If possible, separate everything responsible for authorization into a different file, for example named auth.
Copy and use the generated prompt.