minderlabs / demo

Minder Demo App
1 stars 0 forks source link

CRX auth uses our own oauth flow. #89

Closed adamberenzweig closed 7 years ago

adamberenzweig commented 7 years ago

CRX auth was broken because it didn't have any way to get our custom JWT. chicken-and-egg problem -- it can't call /user/register to get the jwt, because that itself is protected by jwt header auth.

After this I think we can deprecate /user/register, because both web and crx clients now get userProfile during auth flow.