Hello all, I am trying to integrating Ory Kratos i...
# talk-kratos
w
Hello all, I am trying to integrating Ory Kratos in one of my projects to implement basic login and registration flows I am thinking to use kratos as a dependency (using
go get <http://github.com/ory/kratos|github.com/ory/kratos>
) rather than using kratos go client and write wrapper functions around the flows and handlers that kratos already provides Can anyone please help me get started with this?
b
The easiest way would be to write wrapper functions around the http api that they provide or generate code for the open api spec using
oapi-codegen
But you become responsible for keep track of api changes
w
How can I get oryAccessToken i.e. the API key?
How can I get oryAccessToken i.e. the API key?
m
Are you looking for the PAT for Ory Cloud?
wrapper functions around the flows and handlers that kratos already provides
would that not be the same thing as using the SDK but writing it yourself? Not criticism just curious why you choose this