Commit 6ef4767
authored
docs(auth): log the token value in the idToken example (#3728)
The idToken example's subscription logged `string`, a type name rather
than a value in that scope, so the snippet would not compile if copied.
Log the `token` parameter the callback receives, matching the neighboring
authState example. Also correct the comment on the line above, copied
from the authState example, which referred to a user rather than the
token this example streams.
Reland of #3652 by saadlalam, whose fix was correct but could not be
merged because the CLA check never cleared on that branch.1 parent 3b1096f commit 6ef4767
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
| 174 | + | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments