Welcome to the Alteryx Knowledge Base
Knowledge Base / Server / 403 Forbidden/Page Not Found after login to Gallery with SAML authentication
403 Forbidden/Page Not Found after login to Gallery with SAML authentication
Created/Edited -
Summary
Issue
Error: “Page Not Found” or "403 Forbidden"
This article aims to provide a solution for account lockouts, preventing users from successfully logging in.
Unable to log in to the gallery when using SAML authentication. User/Admin getting “Page Not Found” or "403 Forbidden" after clicking on "Sign in" button and completing the SAML login process.
Error message observed in gallery logs
ERROR,31,AlteryxServerHost,ErrorHandler,HandleError,,,,,,,,,,Exception caught by ErrorHandler and marshaled to client,"Alteryx.Server.Common.Exceptions.ForbiddenException: Access denied.-> at Alteryx.Server.Models.Presenters.UserPresenter.AddUser(User user)-> at SyncInvokeAddUser(Object , Object[] , Object[] )
- "Page Not Found" error message on the Gallery UI
- "403 Forbidden" in the web browser
- "One or more errors occurred." in HAR trace
Environment
- Alteryx Server
- All Versions
- SAML Authentication
Cause
“Page Not Found” or "403 Forbidden" after clicking on the "sign in" button with SAML authentication is often caused when new users are not allowed to register in the Gallery due to a Gallery configuration setting.
Resolution
Diagnosis
This issue could occur for Gallery Admins and all users.
- If the issue is only for all the users or some particular users, then follow solution A
- If the issue is occurring for all the admins/curators and users then follow solution B
Solution A
- At least one admin/curator should log in successfully and access the admin page
- Under Admin page --> Click on Configuration
- Enable Users Can Register
Solution B
- Connect to Schema AlteryxGallery using Robo3T
- Navigate to the configurations collection
- Right-click and edit the document
- Change the value�"SignupDisabled": false
Note: Ensure to have a backup of MongoDB.
Solution C
Please submit a case with Alteryx support mentioning this article.
Additional Information
Was this article helpful?