Optional appOptional authorizationURL parameters that will be sent back to the Authorization Server. This can be known parameters defined by Auth0 or custom parameters that you define.
Optional fragmentUsed to add to the URL fragment before redirecting
Optional openUsed to control the redirect and not rely on the SDK to do the actual redirect.
const client = new Auth0Client({
openUrl(url) {
window.location.replace(url);
}
});
import { Browser } from '@capacitor/browser';
const client = new Auth0Client({
async openUrl(url) {
await Browser.open({ url });
}
});
Used to store state before doing the redirect