Skip to content
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

Accessing a page with a office365 macro will cause a login redirect #22

Open
oanalavinia opened this issue Dec 22, 2022 · 1 comment
Open

Comments

@oanalavinia
Copy link

Steps to reproduce while logged in with an admin user:

  1. Go a page, let's say Sandbox.TestPage1
  2. Edit it, add a {{office365/}} macro call and save it
  3. Access the page in view mode

Expected result:
The macro works or an error message is displayed in case of problems.
Actual result:
The page is redirected to the microsoft login page

I tested on XWiki 11.10 and 14.4.7, with Office365 1.10 and Microsoft Azure Active Directory Single Sign-On 1.5.7

@oanalavinia
Copy link
Author

In case the office365 macro call is actually added on the home page Main, it will cause problems to the XWiki login. After you click on the login button, a redirect is done automatically to the home page and this will now cause another redirect to the microsoft login page. An workaround for this is to try to access a different page and only then to try the login, since the redirect will be done to this page instead of the home page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant