# Bug SI-102 - Linking to project storage via SSO fails when user can't authenticate

Project: Stream Integration Basics
Status: closed
URL: https://community.openproject.org/work_packages/SI-102

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 16.0.0 |
| Observed in versions | 15.4.0 |
| Bug found in version (deprecated) | 15.4.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Jan Sandbrink |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Have a storage authenticating via SSO only
    
    1.  authentication must fail for the user, e.g. by misconfiguring storage or by user account not existing in remote storage yet
        
    2.  the storage must not be configured for two-way oauth in the background
        
2.  Add the storage to a project and navigate to the project
    
3.  Click on the storage link in the left-hand-side menu
    

### What is the buggy behavior?

An HTTP 500 error is indicated, with an unspecific error message.

### What is the expected behavior?

The storage should be opened at a generic location.

Side note: For users not yet existing in remote storage, this may even fix the authentication problems.
