cryptomator / cryptomator/hub

Hub suggests to register device, App shows "Access denied"

Open
#167 2 comments 0 reactions 0 assignees View on GitHub
component:clientapp component:frontend
Dominant language
Java
Stars
80
Forks
15
PR merge metrics
No merged PRs in 30d

Description

### Please agree to the following

- [X] I have searched [existing issues](https://github.com/cryptomator/hub/issues?q=) for duplicates
- [X] I agree to follow this project's [Code of Conduct](https://github.com/cryptomator/hub/blob/develop/.github/CODE_OF_CONDUCT.md)

### Summary

App unlock with a different user than the device register user, Hub says to register device, but is impossible in app.

### System Setup

```markdown
- Hub: 96582145661fb0a29ac36791e33e4bf02386593e
- Keycloak: 19.0.2
- Cryptomator (Desktop/Android/iOS): Desktop 1.6.15
```

### Steps to Reproduce

1. Create two users A and B
2. Register device with user A (during unlock)
3. logout A
4. unlock any other hub vault, login with B

### Expected Behavior

Message shown: Device registered for different user

### Actual Behavior

Opened webpage says to register device in app, app says "Access denied"

### Reproducibility

Always

### Relevant Log Output

_No response_

### Anything else?

![grafik](https://user-images.githubusercontent.com/9036915/195848939-b6f81da5-9cbb-4179-ac4e-2ca8893f9eb4.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.