Comment Comment by vwpolo3 Don't implement your own, there's tons of open source that can do that, for example https://github.com/ory/hydra parent vwpolo3 6 years ago