Verifying my access token with oAuth2.0

Not applicable

Hello All ,

I'm a naive and basic beginner in Apigee. I have went through the docs and tutorial.
Right now, I've generated token which has a password grant type authorization. Now in my second flow /verifytoken where i place my bearer token, it throws back "Cannot GET /verifytoken"

Though i have checked in my apigee edge, i have placed a flow path "/verifytoken" and i am confused why it throws 404 inspite of giving some other error.

Regards,

Shijith

0 6 326
6 REPLIES 6

I guess the error "Cannot GET /verifytoken" is coming from the backend system (after successfully validating the token). What is your target URL?

You can upload your bundle or a trace if you would like more help!

Thanks, Sean

Thats why! you are hitting http://mocktarget.apigee.net/verifytoken from Apigee, which doesn't exist - but it looks like your token validation is working! 🙂

Hey ,

Thanks .. anyhow i tried using Assign Message policy and put the "target.copy.pathsuffix" to false and it was routing well with status code 200.

Accepted your answer. Appreciated 🙂

🙂 well done!

Not applicable

Any suggestions will be appreciated.