database - How to design oauth 2.0 access token field in Sql? -


i designing database own oauth service. current solution have 512-bit long access token , save binary data in sql. practice? need varchar type instead? worried search time retrieve row containing access token. thanks!

correct me if missing something, i'll edit right away.

however storing access tokens never need run query on tokens themselves. run query on userid or , fetch access token customer. because tokens supposed contain data can extract.

how dealing access tokens?
read question - how efficient oauth2.0 server / provider work?

it discusses how access tokens behave.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -