generic-oauth2 icon indicating copy to clipboard operation
generic-oauth2 copied to clipboard

Feat: Logout feature ios, android and web

Open sallyg1 opened this issue 3 years ago • 2 comments

is Logout feature ready to be use ? I see this in the definitions file

/**
 * @since 3.1.0 ... not implemented yet!
 */
logoutUrl?: string;

onLogoutClick() { OAuth2Client.logout( oauth2LogoutOptions ).then(() => { // do something }).catch(reason => { console.error("OAuth logout failed", reason); }); }

Where how do we specify oauth2LogoutOptions ?

sallyg1 avatar Aug 05 '22 21:08 sallyg1

I can confirm that logout is not working as expected. Just clear local storage and nothing more.

meriturva avatar Aug 31 '22 08:08 meriturva

See: https://github.com/moberwasserlechner/capacitor-oauth2/issues/97

meriturva avatar Aug 31 '22 08:08 meriturva