# Bug OP-18697 - Cannot authorise OpenProject app with OpenProject when user has 2FA enabled

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-18697

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Authentication / OAuth |
| Target versions | 17.0.2 |
| Observed in versions | 17.0.0 |
| Sprint | 17.0.2 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.0.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Oliver Günther |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Configure an OAuth application in your OpenProject to allow the OpenProject app to connect
    
2.  Create a new user in OpenProject, log in with them, and set up 2FA (via TOTP)
    
3.  Install the OpenProject app on your phone
    
4.  Open the app and try to connect to your OpenProject as the user from step 2
    

### What is the buggy behavior?

*   Clicking on &quot;Authorize&quot; does nothing
    

### What is the expected behavior?

1.  Clicking on &quot;Authorize&quot; should send the user back to the OpenProject app which should then be connected successfully
    

### Environment information

**OpenProject version**

_v17.0.01_

**Operating System**

*   [ ] Windows
*   [ ] Mac OS X
*   [x] Mobile iOS
*   [x] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)
