lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
8.61k stars 448 forks source link

[DOCS] Update Github OAuth guide to contain 'User-Agent' in fetch header #1434

Closed kgni closed 5 months ago

kgni commented 5 months ago

As per the GitHub documentation:

"Requests without a valid User-Agent header will be rejected. You should use your username or the name of your application for the User-Agent value"

I was following the account-linking example in the documentation and kept getting statuscode 403 without the User-Agent header.

pilcrowOnPaper commented 5 months ago

Thanks!