Commit Graph

2 Commits

Author SHA1 Message Date
Async10
df7194b914
Fix code sample for getting a token (#18)
The code sample had multiple problems. The most important one was that
it did not run because the call to `checkIfUpdated` was incorrect and
the code didn't take into account that a DOMException is thrown when
trying to read `popup.location.href` before the redirect happened. Apart from
that I added url encoding of the query parameters and some simple sanity
checks on the received `token` and `assertion` values in order to make
the sample a bit more robust.
2023-09-11 09:14:31 -05:00
Mia
308b16998b Add documentation for OAuth2 functionality 2023-08-18 16:41:47 -05:00