auth0 / auth0-flutter

Auth0 SDK for Flutter
https://pub.dev/documentation/auth0_flutter/latest/
Apache License 2.0
59 stars 39 forks source link

Add support for logoutParams #303

Open gurgenAya opened 1 year ago

gurgenAya commented 1 year ago

Checklist

Describe the problem you'd like to have solved

Currently, there is no way to pass logoutParams for Auth0 Flutter SDK.

Describe the ideal solution

It would be great to have logoutParams optionally for .webAuthentication().logout() method. This params are available for Auth0 Angular package.

Alternatives and current workarounds

No response

Additional context

No response

stevehobbsdev commented 1 year ago

Thanks for the feature request @gurgenAya, can you tell us more about the use case? Are you looking to pass arbitrary custom parameters for logout?

gurgenAya commented 1 year ago

@stevehobbsdev The use cases require the mobile application to pass federated: true parameter in the logout call, so the Auth0 integration can detect and call the external IDP provider's logout and close the session on the IDP provider side.

I understand that there can be alternative solutions and workarounds, but this flow is already implemented on the web application, and having the mobile application with the same flow is the preferred solution for us.

zimathon commented 7 months ago

@stevehobbsdev The use cases require the mobile application to pass federated: true parameter in the logout call, so the Auth0 integration can detect and call the external IDP provider's logout and close the session on the IDP provider side. I understand that there can be alternative solutions and workarounds, but this flow is already implemented on the web application, and having the mobile application with the same flow is the preferred solution for us.

@gurgenAya Can you handle anything other than the following?

federated: true