You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I enabled Chat history and it works well with default authentication (Microsoft Provider). But when i change to use Google the error occurs.
When i check in browser debug, There is an 500 error with api /history/list.
And this is the app service console log.
The text was updated successfully, but these errors were encountered:
To use another authentication provider, you would need to modify this logic to get a unique user ID for the logged in user from that provider. Then that ID can be used when interacting with the CosmosDB.
Hey, @sarah-widder, will this also apply to AAD B2C added as an OIDC auth provider? It seems like the request from AAD B2C should include the same headers used in the application code that you pointed to, yet I experience the same "...CosmosDB is not working..." message. Any advice you can provide on reconciling the chat history feature with AAD B2C would be greatly appreciated by our team and customers!
I enabled Chat history and it works well with default authentication (Microsoft Provider). But when i change to use Google the error occurs.
![Screenshot 2023-09-14 at 11 25 56 AM](https://private-user-images.githubusercontent.com/16603146/267856191-c57326a0-bef6-4e81-b166-167154afa024.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxNzY5NjIsIm5iZiI6MTcyMDE3NjY2MiwicGF0aCI6Ii8xNjYwMzE0Ni8yNjc4NTYxOTEtYzU3MzI2YTAtYmVmNi00ZTgxLWIxNjYtMTY3MTU0YWZhMDI0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA1VDEwNTEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM3NDdkMjE2ZTBhYzVhMDdlZTkyMzViNTFhZGUxZTc5NzU3MTAyNjI1NjE4MzI4MzdkZjViM2EwM2NhMzc4ZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gtX3VVr_LgDWo3P02R6TRjg0T_GGp4eAOcXomAw5lXc)
![image](https://private-user-images.githubusercontent.com/16603146/267856425-4cd62101-cca3-496a-8cba-90d665102fce.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAxNzY5NjIsIm5iZiI6MTcyMDE3NjY2MiwicGF0aCI6Ii8xNjYwMzE0Ni8yNjc4NTY0MjUtNGNkNjIxMDEtY2NhMy00OTZhLThjYmEtOTBkNjY1MTAyZmNlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA1VDEwNTEwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRmYjExZjcxNjFjZTQ5ZTdiMDRhNTNmNjRmYjIxM2Q4YjgyZjAxNDU4OTkyYjNiNTEwMzFlZWE0NGRjMzlhODYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.siAHM3pDzQTm6Tdl25cWAuGXPS7lOV1RizJqgYBXhmA)
When i check in browser debug, There is an 500 error with api /history/list.
And this is the app service console log.
The text was updated successfully, but these errors were encountered: