SSO redirection issue


Capture1

when I integrated microsoft office sso integration in my app in bubble.io above mentioned error displaying.

My requirement was below:

Scenario: User redirected to the webapp from website.

User click on a thumbnail and get redirected to webapp preview page of that particular content. So the redirected URL should be like " https:///version-test/preview_course/"

to view the content user needs to signup/login. here we provided URL in microsoft azure is " https:///version-test/preview_course"

while login below error message is displaying.
“The redirect URI ‘https:///version-test/preview_course/1656679343417x998271941578326000’ specified in the request does not match the redirect URIs configured for the application ‘684294d8-fa10-4b9a-9a80-c80f1390b38a’. Make sure the redirect URI sent in the request matches one added to your application in the Azure portal. Navigate to Error AADSTS50011 the redirect URI does not match the redirect URIs configured for the application - Active Directory | Microsoft Learn to learn more about how to fix this.”

How to solve this issue for our requirement?