-
-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
The header is not modified.
Code exemple:
// Function used to execute action when the provider button is clicked.
async function onNewConnectionClick() : Promise<void> {
const url = `${BASE_API_URL}/protected/oauth2/${$selectedProvider}/login?redirect_url=${APP_URL}`
const cookie = retrieveConnectionCookie()
if (cookie == null) {
navigateTo(PageList[PageIndex.LOGIN])
return
}
try {
if (await InAppBrowser.isAvailable()) {
InAppBrowser.openAuth(url, APP_URL, {
ephemeralWebSession: false,
showTitle: false,
enableUrlBarHiding: true,
enableDefaultShare: false,
headers: {
'Cookie': 'session_id=' + cookie.sessionId
}
...Metadata
Metadata
Assignees
Labels
No labels