am request url
and show page
image in link:https://www.apigility.org/apigility-documentation/img/auth-oauth2-authorize.png
but want return json value token
you should reading in zf-oauth documentation. request token send post
request user credentials , client id oauth
endpoint:
so example post
request base url /oauth
following json
data:
{ "grant_type": "password", "password": "1234abcd", "username": "john.doe@example.com", "client_id": "myclient" }
Comments
Post a Comment