auth0-flutter icon indicating copy to clipboard operation
auth0-flutter copied to clipboard

Add support for logoutParams

Open gurgenAya opened this issue 2 years ago • 3 comments

Checklist

  • [X] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • [X] I have looked into the API documentation and have not found a suitable solution or answer.
  • [X] I have searched the issues and have not found a suitable solution or answer.
  • [X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • [X] I agree to the terms within the Auth0 Code of Conduct.

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

gurgenAya avatar Aug 31 '23 09:08 gurgenAya

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?

stevehobbsdev avatar Sep 06 '23 10:09 stevehobbsdev

@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 avatar Sep 06 '23 10:09 gurgenAya

@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

zimathon avatar Jan 15 '24 06:01 zimathon