Authorisation - PIN experience in Android App


I 'm getting the PIN Code from the redirect URl and i’m not sure ,how to extract programmatically from page or screen.

Need help on to extract the PIN code from screen - code snippet ?


If you are getting a PIN then you don’t have a redirect URL specified.

If you do have a redirect URL then you are getting an authorization code that you have to exchange for a token.


Thanks Urman for your immediate reply.
Yes, I didn’t specified the redirect URL, thats why i’m getting PIN.

Will you suggest me , how to extract this PIN from UI screen and get the access token info ?
It will be great , you would share sample code snippet ?

Thanks for your kind help


It’s not possible to extract the PIN. It is supposed to be a manual process.