fa-fifi / keycloak_wrapper

Keycloak Single Sign-On (SSO) authentication package for Flutter framework.
https://pub.dev/packages/keycloak_wrapper
BSD 3-Clause "New" or "Revised" License
12 stars 11 forks source link

How to remove the offline_access scope #47

Closed ahmadjie closed 1 month ago

ahmadjie commented 2 months ago

I am try using the Keycloak wrapper package in my Flutter project, and I need to modify the scopes being sent. Specifically, I would like to remove the offline_access scope. Could you please advise on how I can remove the offline_access scope

Thank you

fa-fifi commented 2 months ago

Sorry for the late reply.

May I know the reason why would you want to remove it?

ahmadjie commented 1 month ago

I want to remove "offline_access" because our backend specifically requires a type refresh for re-authentication.

fa-fifi commented 1 month ago

@ahmadjie I've update the package to exclude "offline_access" from the default scope value. You can use the latest version v1.4.3.