Skip to content

Use the proper server for the apptoken flow login - #12177

Merged
MorrisJobke merged 1 commit into
masterfrom
fix/apptoken_login_flow_proper_host
Nov 2, 2018
Merged

Use the proper server for the apptoken flow login#12177
MorrisJobke merged 1 commit into
masterfrom
fix/apptoken_login_flow_proper_host

Conversation

@rullzer

Copy link
Copy Markdown
Member

If a user can't authenticate normally (because they have 2FA that is not
available on their devices for example). The redirect that is generated
should be of the proper format.

This means

  1. Include the protocol
  2. Include the possible subfolder

Discovered while debugging nextcloud/desktop#596

@blizzz

blizzz commented Nov 1, 2018

Copy link
Copy Markdown
Member

no tests? they need to be touched anyhow, CI is unhappy.

@rullzer
rullzerforce-pushed the fix/apptoken_login_flow_proper_host branch from 6234023 to bd9b452CompareNovember 1, 2018 10:09
MorrisJobke
MorrisJobke previously requested changes Nov 1, 2018
Comment thread.htaccess Outdated
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE ####

ErrorDocument 403 /
ErrorDocument 404 /

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙈

If a user can't authenticate normally (because they have 2FA that is not
available on their devices for example). The redirect that is generated
should be of the proper format.
This means
1. Include the protocol
2. Include the possible subfolder
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>

@MorrisJobkeMorrisJobke left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code makes sense 👍

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@rullzer@blizzz@MorrisJobke@ChristophWurst