How to retrieve my access token which is coming as html response from Ory hydra?


#1

Hi all,
I am new to ory hydra and I am able to see the access token and refresh token which is coming as HTML response from the ory hydra. I want that access token in json format so that i will be able to store them in my db and use for authorization purpose for the rest api’s. Can someone help me with this ???

Thanks in advance.


#2

I suggest to read and learn about OAuth2 first. There are plenty of guides, it seems like you don’t have a clear understanding of what OAuth2 is and how it works. This forum is reserved to figure out specifics of ory technology, not with general questions about how OAuth2 works.