feat(smauth): Use proxy mode for device login on the Web
<span class="gl-align-middle -gl-mr-2 has-tooltip" title="The source project is a fork"><svg class="s12 gl-ml-1 has-tooltip" data-testid="fork-icon"><use href="/assets/icons-41229992eca580608aadaaa9b83b717650b2863442574d0ebb87f859c42a3b6c.svg#fork"></use></svg></span> fales/w4gd:feat/smauth_proxy_mode into main
When proxy mode is requested, the IDP performs the final SSO login request, then returns the access token in JSON format.
This allows the SDK to circumvent browser limitations around reading the "Location" header of an HTTP response (the fragment of the redirect URL resulting from the final SSO login request would normally contain the user access token).
Depends on !26 (merged)
Fixes support#10 (closed) (requires W4 Cloud backend 0.5.0+)
Edited by Fabio Alessandrelli