atparkweb / omi-chan

A simple server that communicates with Bocco Emo API
0 stars 0 forks source link

Improve oauth implementation #1

Open atparkweb opened 2 years ago

atparkweb commented 2 years ago

Interval refresh isn't necessary with oauth. Just refresh when '401: Unauthorized' status is returned

atparkweb commented 2 years ago

or use this library for token refresh: https://github.com/ueberauth/oauth2