I’m receiving the Following error when trying to create a token the Implicit Grant type
Error 500 : Internal Server Error
Time: 357ms
Size: 256 B
{
"fault": {
"faultstring": "NullPointerException",
"detail": {
"errorcode": "Internal Server Error"
}
}
}
What I was doing is the ff.
https://community.apigee.com/questions/70503/how-can-i-have-multiple-callback-urls-in-an-app.html?childToView=70545#comment-70545
I could already do that and issue Authorization Code dynamically.
I’m using the very same policy in creating those authorization codes for extracting the redirect_uri with my policy for implicit grant type token creation. And I could very well see that those policies are executed properly as it returns a value and append the the redirection_uri to the initial request parameters. My only issue is whenever it reaches the implicit grant type policy of token generation is that it throws an error of “Execution Error” on the policy for “GenerateAccessTokenImplicitGrant”. And I don’t know why and where it’s getting a null value anywhere. How do I solve this?. TIA
BTW. The following is my policy for generating a token of implicit grant.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<OAuthV2 name="GenerateAccessTokenImplicit">
<DisplayName>GenerateAccessTokenImplicit</DisplayName>
<Operation>GenerateAccessTokenImplicitGrant</Operation>
<RedirectUri>request.queryparam.redirect_uri</RedirectUri>
<GenerateResponse/>
</OAuthV2>



