Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with Article-2. #6

Open
RafaelStudartDiPiero opened this issue Feb 14, 2023 · 0 comments
Open

Problems with Article-2. #6

RafaelStudartDiPiero opened this issue Feb 14, 2023 · 0 comments

Comments

@RafaelStudartDiPiero
Copy link

I having problems when trying the implementation described in the article-2 in production.
I have a next-js application and a streamlit application following the described in article 2, and the setup is working as expected in local dev.
The only difference that my project has from the original setup is that the next-js application has other routes different from the /streamlit, so I called the getServersProps and getSession in the /streamlit page directly, but is still require my user to login on the main next-js application.
Do you guys have any idea on what maybe causing the error in production?
This is the error
GET http://my_prod_route/api/auth/me 401 (Unauthorized)
And this is happening even if the user is authenticated in the main application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant