Back to the lesson

Original working file

reference/assignment-walkthrough.txt

Code and working example pages keep their original identifiers and sample text. The lesson and file guidance explain them in your language.

ILLUSTRATIVE WORKED WALKTHROUGH

These steps explain a complete approach. They are not a claim that this live provider/account test was performed for you. Use your own project and record your actual observations.

1. Configure the project URL and publishable key, then a template containing {{ .Token }} so the message contains the code this page expects. Request a code for your own inbox. A requested email is not a verified session.

2. Enter a wrong code and confirm that no user session is created. Use a fresh valid code, verify the identity shown, reload and observe the session. Sign out and verify the tab no longer reports a session.

3. Repeat from a private window: it must not inherit the first window's sign-in state. Hiding a button is unrelated to protecting a document; a server must verify authorization before returning private content.