-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Cannot go past login page when accessed via Microsoft Teams's website tab #408
Comments
@tforce7171, did you ever find a work around for your post above? I too am seeing the behavior where, on a newly deployed Azure Chat instance, I'm getting the loop of "Sign in with Azure Active Directory" and I sign in successfully, only to be directed back to the same blue button. However the difference is that I am not using Teams. I've tried it in Chrome and Edge (standard and incognito), but no luck. |
No, I have not found a work around. But it seems like Teams website does not store cookies thus causing an issue. So may be looking into cookie settings might be an option. |
Yes, I was going for the Azure AD Production setup. Thanks for the tip on the cookies. I may look into that further. But I found a newer Azure AI Chat project that I'm interested in testing and it seems to be more active. https://github.com/Azure-Samples/chat-with-your-data-solution-accelerator |
Thanks for the info. I'll take a look at it. |
I can confirm that this issue is fixed when User Email field is filled in as per @heguro's comment above. |
Can't confirm that it works out of the box in Teams Tab App. Not even with heguro's fix for the auth loop regarding the missing email claim. Can anyone share what additional changes are necessary to get a login in a Teams Tab App. Teams Client Side Access Token to NextAuth or Cookie adjustments? |
Hi, I have a working AzureChat and want to access its ui through Microsoft Teams.
![無題 22](https://private-user-images.githubusercontent.com/68318576/351560964-77e1fc4c-27cf-446c-bbb8-044029633c91.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0Mjg2NzEsIm5iZiI6MTczOTQyODM3MSwicGF0aCI6Ii82ODMxODU3Ni8zNTE1NjA5NjQtNzdlMWZjNGMtMjdjZi00NDZjLWJiYjgtMDQ0MDI5NjMzYzkxLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW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t4L5ur-CssiQWs)
I created a website tab which points to my AzureChat endpoint.
It shows a login page(first image), but clicking "Microsoft 365" button to login only redirects to a page below (second image) and won't let me login.
And then I read this article and learned logging in does not work well with MS Teams website tab.
So are there any ways to disable or bipass a login page? I just want to see a chat page on MS Teams, and security or privacy is not really that important at this moment.
The text was updated successfully, but these errors were encountered: