Open technqvi opened 1 month ago
Hello, Thank you for reaching out about your problem, I haven't used two-step auth, but I know it might be the token expiration I will try to replicate your issue and see if I can come up with a fix.
Thanks.
On Sun, Jul 14, 2024 at 11:53 AM Pongthorn Sangkaphet < @.***> wrote:
Hi, I need some helps from you , I tried on Azure AD authentication along with your medium.com but Error
@.***/streamlit-login-with-azure-ad-authentication-66ebd1691858
This is my error after 2factor authentication toward Azure AD, How to resolve it? Failed to acquire token. Please check your input and try again. image.png (view on web) https://github.com/user-attachments/assets/a96a2ef3-2f49-413a-bfd1-c3dc349b52af
Let me elaborate on what I did ,The Streamlit app run on Window Sever 2022 There were 2 steps.
- I asked to Azure administrator configure Azure client in the portal , As he informed me he told me that did it step by step completely as you wrote in medium.com
- I cloned this repos to change configuration values secrets.toml
CLIENT_ID = "xxxxxxx" CLIENT_SECRET = "yyyyyyyyy" TENANT_ID = "zzzzzzzzzzzz" SCOPE = ["User.Read"] REDIRECT_URI = "https://xxxx.com:8501/"
4, due to Https requiremnt, I had to add config.toml
[server] sslCertFile = 'c:\WebApp\AWS-ChatKB\cert\certchain.pem' sslKeyFile = 'c:\WebApp\AWS-ChatKB\cert\private.key'
That was all, it went so welll You can now view your Streamlit app in your browser. Local URL: https://localhost:8501 Network URL: https://xxxx.com:8501
— Reply to this email directly, view it on GitHub https://github.com/Prhmma/Streamlit_Azure_AD/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBLMB4TUCJE6VEVBTF4KE3ZMJKDRAVCNFSM6AAAAABK3CTL3KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYDOMZXHAYTONA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Hello, my friend, I tried with the same repo, it is working fine.
is there any more information that could help me help you?
Thanks.
On Sun, Jul 14, 2024 at 5:27 PM Parham @.***> wrote:
Hello, Thank you for reaching out about your problem, I haven't used two-step auth, but I know it might be the token expiration I will try to replicate your issue and see if I can come up with a fix.
Thanks.
On Sun, Jul 14, 2024 at 11:53 AM Pongthorn Sangkaphet < @.***> wrote:
Hi, I need some helps from you , I tried on Azure AD authentication along with your medium.com but Error
@.***/streamlit-login-with-azure-ad-authentication-66ebd1691858
This is my error after 2factor authentication toward Azure AD, How to resolve it? Failed to acquire token. Please check your input and try again. image.png (view on web) https://github.com/user-attachments/assets/a96a2ef3-2f49-413a-bfd1-c3dc349b52af
Let me elaborate on what I did ,The Streamlit app run on Window Sever 2022 There were 2 steps.
- I asked to Azure administrator configure Azure client in the portal , As he informed me he told me that did it step by step completely as you wrote in medium.com
- I cloned this repos to change configuration values secrets.toml
CLIENT_ID = "xxxxxxx" CLIENT_SECRET = "yyyyyyyyy" TENANT_ID = "zzzzzzzzzzzz" SCOPE = ["User.Read"] REDIRECT_URI = "https://xxxx.com:8501/"
4, due to Https requiremnt, I had to add config.toml
[server] sslCertFile = 'c:\WebApp\AWS-ChatKB\cert\certchain.pem' sslKeyFile = 'c:\WebApp\AWS-ChatKB\cert\private.key'
That was all, it went so welll You can now view your Streamlit app in your browser. Local URL: https://localhost:8501 Network URL: https://xxxx.com:8501
— Reply to this email directly, view it on GitHub https://github.com/Prhmma/Streamlit_Azure_AD/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEBLMB4TUCJE6VEVBTF4KE3ZMJKDRAVCNFSM6AAAAABK3CTL3KVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQYDOMZXHAYTONA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I ask to Azure Infrastructure Admin to investigate the problem and I will let you know any progress.
I can do it , but once i refresh data , i got the error
Hi, I need some helps from you , I tried on Azure AD authentication along with your medium.com but Error https://medium.com/@prhmma/streamlit-login-with-azure-ad-authentication-66ebd1691858
This is my error after 2factor authentication toward Azure AD, How to resolve it? Failed to acquire token. Please check your input and try again.
Let me elaborate on what I did ,The Streamlit app run on Window Sever 2022 There were 2 steps.
[server] sslCertFile = 'c:\WebApp\AWS-ChatKB\cert\certchain.pem' sslKeyFile = 'c:\WebApp\AWS-ChatKB\cert\private.key'