Greeting.
i'm implementing this flutter sdk into my app that it has an unexpected data reponses.
once i call login with profile scope as below,
final result = await LineSDK.instance.login(
scopes: ["profile"]
);
it successfully receives accessToken.
but after i try to validation check with our api then it occurs error.
that i realized that the accessToken as i received is line API 2.0 version.
of course we downgrade the api from 2.1 to 2.0 then it works fine but 2.0 is already Deprecated so it's quite hesitate to use.
so i tried to use idToken with below permission

but i get the error
{"error":"invalid_request","error_description":"scope has not required permission"}
and also i tried with OpenID scope but it just get's app crash. (seems it receives some token tho)
is there any way to get 2.1 verion of accessToken or idToken?
thank you.
Greeting.
i'm implementing this flutter sdk into my app that it has an unexpected data reponses.
once i call login with profile scope as below,
it successfully receives accessToken.
but after i try to validation check with our api then it occurs error.
that i realized that the accessToken as i received is line API 2.0 version.
of course we downgrade the api from 2.1 to 2.0 then it works fine but 2.0 is already Deprecated so it's quite hesitate to use.
so i tried to use idToken with below permission

but i get the error
and also i tried with OpenID scope but it just get's app crash. (seems it receives some token tho)
is there any way to get 2.1 verion of accessToken or idToken?
thank you.