You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 2, 2020. It is now read-only.
Our App is currently implemented in Native Java - and uses the CODE returned by AccountKit in order to make further requests.
On Native Java (Android), here is how it works:
EITHER - the AccessToken Code you must Enable the Client Access Token Flow and set new AccountKitConfiguration.AccountKitConfigurationBuilder(LoginType.PHONE, AccountKitActivity.ResponseType.TOKEN);
OR - the Authorization Code you must Disable the Client Access Token Flow and and set new AccountKitConfiguration.AccountKitConfigurationBuilder(LoginType.PHONE, AccountKitActivity.ResponseType.CODE);
In our implementation, we need to use ResponseType.CODE in Java due to how the back-end is organized. This is currently implemented and working (without turning Enable Client Access Token Flow off in the backend.
Now, when it comes to AccountKit's Flutter Implementation by you, you mentioned here:
/// use [code] if the Enable Client Access Token Flow switch in your app's dashboard is OFF
But what happens when I turn off this:
Is that I face an error on my Flutter's End when logging in:
This means that unlike what you suggested (use CODE when this is turned OFF), I am actually facing an unknown error when this is turned off.
Any help regarding how we can get the CODE from the ResponseType would be much appreciated.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Our App is currently implemented in Native Java - and uses the CODE returned by AccountKit in order to make further requests.
On Native Java (Android), here is how it works:
In our implementation, we need to use
ResponseType.CODE
in Java due to how the back-end is organized. This is currently implemented and working (without turningEnable Client Access Token Flow
off in the backend.Now, when it comes to AccountKit's Flutter Implementation by you, you mentioned here:
/// use [code] if the Enable Client Access Token Flow switch in your app's dashboard is OFF
But what happens when I turn off this:
Is that I face an error on my Flutter's End when logging in:
This means that unlike what you suggested (use
CODE
when this is turned OFF), I am actually facing an unknown error when this is turned off.Any help regarding how we can get the
CODE
from theResponseType
would be much appreciated.The text was updated successfully, but these errors were encountered: