@authgear/web / ConfigureOptions
Table of contents
The OAuth client ID.
sessionType indicates how session is supposed to be stored. This must match the server side configuration.
If your backend is a server-side rendering website or webapp, then you should use cookie.
Normally, you need to set up a custom domain so that your backend and Authgear can both read and write cookie in the same root domain. You also need to tell the SDK cookie is being used, by specifying "cookie" here.
If not specified, default to "refresh_token".