-
Notifications
You must be signed in to change notification settings - Fork 165
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
🐛 [Bug] Outlook oauth account invalid redirect url query #1463
Comments
Hello @WEGIII , Thank you for this issue. which messaging service are you trying with? |
If is outlook oauth |
Outlook.com It seems using the port made some type of progress, but is still not working. MS Azure accepted the port as part of the redirect URI. When trying to add the email account via outlook using OUTLOOK_CLIENT_URI=http://localhost:8800/ connection is refused. Unfortunately, no errors in the container log, any ideas? |
Use of the port? No, that's my way of accessing the CYPTH application in localhost. If your URL doesn't require the port to access it, you won't need to populate the port. |
I am able to access the application via domain or localhost. The concern is while trying to add the oauth redirect URI to the Azure app. In the screenshot below, Azure, this is where the redirect variable "http://localhost/?page=home" is not accepted due to it being a query string. |
🐛 Bug
The redirect variable "http://localhost/?page=home" is not accepted in certain Azure app configs.
The Azure app redirect URL is not allowed to have a query in it unless the app is only for work or school accounts. See here: https://learn.microsoft.com/en-us/entra/identity-platform/reply-url.
I was able to complete the oauth GMAIL app setup as they took the queried redirect URL. I did modify the redirect URL to match my domain.
If I am misunderstanding this or there is a known fix, please advise. Thanks!
Version & Environment
Rev: cypht/cypht:2.4.0
OS: Docker Install
The text was updated successfully, but these errors were encountered: