appid_fullcustom's People
appid_fullcustom's Issues
「パスワードリセット*」→「メール受信」→「パスワード変更*」の流れをカスタムUIで
*印の部分をカスタムUIで作りたい。
現行、「単純なパスワードリセット」は実現できている。カスタムUIのページでメールアドレスだけを指定してパスワードリセットをかけ、メールを受信して、カスタマイズ無しのパスワード変更ページで新しいパスワードを変更する、というもの。
また、カスタムUIで「メールアドレスと新しいパスワードを指定して変更する」ことも実現できている。ただこの方法は誰でもメールアドレスを指定してパスワードが変更できてしまうので、セキュリティ的にはよろしくない。
セキュリティ的な面も考慮すると、以下の3段階が必要:
- カスタムUIでメールアドレスを指定して「パスワードリセット」
- 指定したメールアドレスにパスワード変更用の URL 付きメールが送られる
- メールの URL をクリックすると、カスタムUIでパスワードを変更する画面になる
1 -> 2 自体はできているが、今の設計では 3 のカスタムページに繋がらない。2 でカスタム URL を指定してメールを送信する必要があるがその方法がわからない。この 2 で送られたメールのリンクをクリックすると「 1 で指定したメールアドレスのユーザーの」パスワードを変更するページに遷移する必要がある。どこかに 1 の情報を隠す必要がある。ejs のパラメータなど。
また 2 の URL は(メールを受信しなくても)推測できるものではまずい。1 を実行する際にユーザーのメールアドレスに加えて、ワンタイムパスワード的なものを一緒に送付して 2 の URL を作る必要がある。加えて、その URL をメール本文に含める必要がある。
2021-Jun-07 のアップデートに対応
ログインID はメールアドレスではなく専用のテキスト値を指定する
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.