getTokenPostData method
Gets the data that will be posted to swap the auth code for an auth token
Implementation
@override
Future<Map<String, dynamic>> getTokenPostData(String? clientSecret) async {
var map = await super.getTokenPostData(clientSecret);
map["redirect_uri"] = redirectUrl;
map["response_type"] = "token id_token";
if (!useClientSecret! && map.containsKey("client_secret")) {
map.remove("client_secret");
}
return map;
}