Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

login callbacks do not trigger #12

Open
Mohamed1226 opened this issue Dec 5, 2024 · 0 comments
Open

login callbacks do not trigger #12

Mohamed1226 opened this issue Dec 5, 2024 · 0 comments

Comments

@Mohamed1226
Copy link

i make all steps in the package

but this functions not executed

/// Callback method invoked when the login process fails.
@OverRide
void onFailure(String message) {}

/// Callback method invoked when the user logs out.
@OverRide
void onLogout() {}

/// Callback method invoked when the login process starts.
@OverRide
void onStart() {}

/// Callback method invoked when the login process is successful.
@OverRide
void onSuccess(String accessToken) async {}

and get this when try to fetch user

I/flutter ( 8710): User Code: 3
I/flutter ( 8710): User Message: Status: UNAUTHORIZED_ACCESS_ERROR, Code: 3, Extras: httpResponseCode=401, Message: Request failed because the user is not authorized to access the requested resource.
I/flutter ( 8710): User: null

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant