v3xlabs / dh-api

TypeGraphQL Backend for the Dogehouse platform
GNU General Public License v3.0
6 stars 1 forks source link

Limit Redirect URI #54

Closed lucemans closed 3 years ago

lucemans commented 3 years ago

Limit the redirect-uri's that are permitted to certain URI's (probably passed in by ENV variables for now). This will prevent users from sending auth.dogehouse.online/github/login?redirect_uri=https://mymalicioussite.com To unsuspecting users and thereby snatching their auth token.