Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support /.well-known/change-password #8771

Closed
1 task done
thegcat opened this issue Sep 24, 2018 · 3 comments
Closed
1 task done

Support /.well-known/change-password #8771

thegcat opened this issue Sep 24, 2018 · 3 comments

Comments

@thegcat
Copy link

thegcat commented Sep 24, 2018

Mastodon should support the /.well-known/change-password de-facto standard https://mobile.twitter.com/rmondello/status/1009495517494173697 et al.

This would effectively be a 301 from /.well-known/change-password to /auth/edit for the mastodon Web UI.


  • I searched or browsed the repo’s other issues to ensure this is not a duplicate.
@nightpool
Copy link
Member

nightpool commented Sep 24, 2018 via email

@thegcat
Copy link
Author

thegcat commented Sep 25, 2018

It doesn't seem to be much documented and I haven't found any official mention other than on https://developer.apple.com/safari/technology-preview/release-notes/#r59 at the end of the section under "iCloud Keychain Password Manager".

The interesting part in the linked tweet isn't the link to the W3 list as this represents an earlier version of the work, but the tweet and its thread are the interesting part. Ricky seems to be part of the Safari team, and confirmed that redirecting from there to the password update page, or to present the password update page under that URL, would work with Safari/Keychain. GitHub for example also implements this:

> curl -v https://github.com/.well-known/change-password
…
< Status: 301 Moved Permanently
< Location: https://github.com/settings/admin
…
<html><body>You are being <a href="https://github.com/settings/admin">redirected</a>.</body></html>

There's also a few other projects with issues for this (for example mozilla/fxa-content-server#6561)

@thegcat
Copy link
Author

thegcat commented Sep 29, 2018

@Gargron great, thanks!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants