Colllect / Colllect

Your visual bookmark manager

Home Page:https://colllect.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Refactor auth layer from JWT to OAuth 2.0

Alex-D opened this issue · comments

Hey Alex, may I ask you what made you decide to use OAuth2.0 for the authentication for the SPA over the JWT?

Finally, I use both OAuth 2.0 and JWT :D

Oh that is internally JWT and external auth being OAuth or how come?

I use this bundle if you want to check:
https://github.com/trikoder/oauth2-bundle

itself based on:
https://oauth2.thephpleague.com/

which implements both OAuth2 and JWT at the same time.

Thanks, the same exists in laravel which is "passport" - gonna use that in the next project.

Was just wondering why you replaced it which it seems you did not 😅