auth0 / Auth0.Android

Android toolkit for Auth0 API
https://auth0.com
MIT License
208 stars 129 forks source link

Add Incognito Custom Tab (Ephemeral Session) support to Android Auth0 SDK #715

Open sachin-tripactions opened 5 months ago

sachin-tripactions commented 5 months ago

Checklist

Describe the problem you'd like to have solved

The problem I would like to have solved is the lack of support for Incognito Custom Tab (Ephemeral Session) in the Android Auth0 SDK. Currently, the SDK does not provide a way to open an Incognito Custom Tab with an ephemeral session, which can be useful for scenarios where the user wants to authenticate without leaving any traces on the device. Our iOS app uses the iOS Auth0 SDK and is able to solve issues related to web cookies by implementing similar functionality since it has Ephemeral Session feature.

Describe the ideal solution

The ideal solution would be to enhance the Android Auth0 SDK by adding support for Incognito Custom Tab with an ephemeral session. This would allow developers to easily integrate this feature into their applications and provide a more secure and privacy-focused authentication experience for their users. Also not having to deal with issues related to cookies which intersect our web apps.

Alternatives and current workarounds

I have tried explicit logout - but it does not solve issue for our use-case since web app can be logged in anytime through email deeplinks.

Additional context

No response