aaronpk / Aperture

Aperture is a Microsub server. Currently in beta.
https://aperture.p3k.io
Apache License 2.0
70 stars 5 forks source link

Should pass accept header when getting token. #1

Closed grantcodes closed 6 years ago

grantcodes commented 6 years ago

https://github.com/aaronpk/Monocle/blob/25d05dedf5ba183edb4d25f1f0d7caac6e81de33/monocle/app/Http/Middleware/VerifyIndieAuthAccessToken.php#L49

Looks to me like this code should either handle query string responses or include the accept application/json header

But might just be my token endpoint.