Do you have any debug logs or details about how you are setting up the request for the authorization code, and the follow up request for the access token?
On Wed, Jan 20, 2016 at 10:17 AM, phijo joseph <[email protected]> wrote: > Hi , > > I am currently trying to integrate openshift with my ruby application. > When i try to get api token using curl, I'm able get the token. But when I > tried to get the token using OAuth2 gem, > it is not working as expected. I'm getting an error as follows. > > OAuth2::Error: invalid_grant: The provided authorization grant (e.g., > authorization code, resource owner credentials) or refresh token is > invalid, expired, revoked, does not match the redirection URI used in the > authorization request, or was issued to another client. > {"error":"invalid_grant","error_description":"The provided authorization > grant (e.g., authorization code, resource owner credentials) or refresh > token is invalid, expired, revoked, does not match the redirection URI used > in the authorization request, or was issued to another client."} > > I am not sure am i right, As I am very new to OAuth concept. It will be > great if someone can guide me to use OAuth on openshift Origin v3 > > I would like to know where can i see my authorize token. > > Regards > Phijo > > _______________________________________________ > dev mailing list > [email protected] > http://lists.openshift.redhat.com/openshiftmm/listinfo/dev > >
_______________________________________________ dev mailing list [email protected] http://lists.openshift.redhat.com/openshiftmm/listinfo/dev
