Docs : “You MUST NOT specify parameters in Redirect URI path. If you need to keep or send specific information, use state
value by referring to [Kakao Login > REST API]”
https://developers.kakao.com/docs/latest/en/kakaologin/prerequisite#redirect-uri
await AuthCodeClient.instance.authorize(redirectUri: redirect_uri, state: ‘testState’);
Got error KOE116 if call authorize() with ‘state’ parameter, then redirect to ‘/login?error_description=Permission%20is%20required%20for%20cert%20login&state=testState&error=invalid_client’
I checked the source code of SDK, adding ‘state’ parameter cause prompt=cert.
Constants.prompt: state == null
? (prompts == null ? null : _parsePrompts(prompts))
: _parsePrompts(_makeCertPrompts(prompts)),
kakao_flutter_sdk_auth: 1.5.0
kakao_flutter_sdk_user: 1.5.0