-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Get home page instead of First Channel After Login on first user connection #17650
Description
Description:
On first login, right after user registration (authentication done with OAuth on GitHub) I get the Rocket.Chat home page (/home) instead of the First Channel After Login (in my configuration set to a channel named ow2online). If I just reload the home page I'm correctly redirect to the channel defined in First Channel After Login.
Steps to reproduce:
- Create a public channel
- Set it as a default channel (not sure if it has a real impact on this issue reproduction)
- Configure the newly created channel to be
First Channel After Login - Configure authentication on GitHub OAuth (likely to be the same with other OAuth provider and also with email registration)
- Connect to the server using GitHub: you get the home page instead of the channel configured in
First Channel After Login
Expected behavior:
Being redirected to the First Channel After Login
Note: You can get the expected behavior just by reloading the home page
Actual behavior:
You get the home page.
Server Setup Information:
- Version of Rocket.Chat Server: 3.2.2
- Operating System: Debian 10.3 amd64
- Deployment Method: Docker
- Number of Running Instances: 2
- DB Replicaset Oplog: Enabled
- NodeJS Version: v12.16.1
- MongoDB Version: 4.0.18
Client Setup Information
- Browser Version: Firefox 68.8.0esr (64 bits) - Chromium Version 80.0.3987.162 - Firefox 76.0.1 (64 bits)
- Operating System: Debian 10.4 - Windows 8
Additional context
The server has 2 channels set to default in order for the user to be automatically added to both channels. The First Channel After Login is one of those 2.
Relevant logs:
None in Rocket.Chat server logs, none in web browser console.
I just want to take the opportunity of this issue to say that I really love the software and all the features. Congrats to the developers team!