Closed cedpoilly closed 2 years ago
I think I know where the bug is, I’ll get a fix up for that issue.
I noticed that you are adding register logic, but this seems like it should be included in the iframe and then the frontend should bring in the iframe.
I noticed that you are adding register logic, but this seems like it should be included in the iframe and then the frontend should bring in the iframe.
Should we have the iframe logic in the Front-End folder directly?
I think the frame should have its own logic, and be self contained.
Remember that the iframe will be a drop in not only for our website but for others login UIs
Right. I misread you earlier. I'll move that logic to the iframe folder. Then I'll add the code for the Front-End folder
@hkd987 @evanyang1 You can test the register and login features by starting a static server in the /iframe
folder
@hkd987 Here is the current workflow:
localhost:3000
and the x-api-key
and jwt
will be set in the localStorage
. Then the dashboard will be loaded.
Work in progress. You can see a demo of the user registration. @hkd987 Seems like we can register multiple times with the same email address. Am I missing something?