<p>Some sites ask a user to go through a "forget password" first in case they previously signed up using a third party auth provider and lack a dedicated password for the site.</p>
<p>That forget password function would then send an email to the user, asking them to set a new password. All other changes in the settings dialog should always ask for that current password, irrespective of the login method in use (third party social or password). The good thing is that we already have a forget password function, and it would probably solve a lot of hassle with any kind of third party providers - the logon mechanism simply becomes irrelevant when it comes to changing your settings.</p>
<p>Example from coverity.com:</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/5842757/52902456-3f56d980-3211-11e9-8e57-95d1b8072ea3.png"><img src="https://user-images.githubusercontent.com/5842757/52902456-3f56d980-3211-11e9-8e57-95d1b8072ea3.png" alt="password_forget" style="max-width:100%;"></a></p>
<p>Re changing the password: I wonder if it would sense to de-authenticate all OAuth clients as well, as they would otherwise still have access in the user's name. Maybe some kind of recommendation text to manually remove OAuth clients would be a good first step, though.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/2144#issuecomment-464361629">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABWnLbu2bzIHv6-51cCmZKpBTVSdRUz4ks5vODVmgaJpZM4a8gb8">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABWnLc1Er2__gyPJxyWIbMZKmthpe5Cpks5vODVmgaJpZM4a8gb8.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/openstreetmap/openstreetmap-website","title":"openstreetmap/openstreetmap-website","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/openstreetmap/openstreetmap-website"}},"updates":{"snippets":[{"icon":"PERSON","message":"@mmd-osm in #2144: Some sites ask a user to go through a \"forget password\" first in case they previously signed up using a third party auth provider and lack a dedicated password for the site.\r\n\r\nThat forget password function would then send an email to the user, asking them to set a new password. All other changes in the settings dialog should always ask for that current password, irrespective of the login method in use (third party social or password). The good thing is that we already have a forget password function, and it would probably solve a lot of hassle with any kind of third party providers - the logon mechanism simply becomes irrelevant when it comes to changing your settings.\r\n\r\nExample from coverity.com:\r\n\r\n![password_forget](https://user-images.githubusercontent.com/5842757/52902456-3f56d980-3211-11e9-8e57-95d1b8072ea3.png)\r\n\r\nRe changing the password: I wonder if it would sense to de-authenticate all OAuth clients as well, as they would otherwise still have access in the user's name. Maybe some kind of recommendation text to manually remove OAuth clients would be a good first step, though.\r\n\r\n"}],"action":{"name":"View Issue","url":"https://github.com/openstreetmap/openstreetmap-website/issues/2144#issuecomment-464361629"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/2144#issuecomment-464361629",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/2144#issuecomment-464361629",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>