Web application example error (FastAPI) #116
-
Hello, I am trying to execute the example code for the web application under fastapi. However, when I open the link (localhost:8000/protected), I receive "internal server error " text instead of the login page. I have only updated the base URL, client ID and secret key in the example code. It would be very helpful if you can help me understand if I missed anything else. I am not a developer and trying to learn through documentation. Thank you. Update: I was able to resolve the internal server error issue by deleting the cookies. However, now the redirect URL again shows an internal server error. Also, when I reload the localhost:8000/protected page, I get back the same error. So, I need to delete cookies every time to land on the authentication page. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hail, @Aakashagr 👋 Welcome to Fief's kingdom! Our team will get back to you very soon to help. In the meantime, take a minute to star our repository ⭐️ Farewell! |
Beta Was this translation helpful? Give feedback.
-
Hi @Aakashagr 👋 Could you share with us the complete stack trace of the error? In the terminal which runs the example, you should have a detailed output of the error. |
Beta Was this translation helpful? Give feedback.
Hi @Aakashagr 👋
Could you share with us the complete stack trace of the error? In the terminal which runs the example, you should have a detailed output of the error.