aidswidjaja / PotatoBoard

PotatoBoard is a almost-complete bulletin board workflow, written with Django.
MIT License
0 stars 0 forks source link

AuthForbidden at /complete/google-oauth2/ Your credentials aren't allowed #6

Closed aidswidjaja closed 3 years ago

aidswidjaja commented 3 years ago

Need to make a logout/login form so users don't get "trapped"

aidswidjaja commented 3 years ago

Using a hd url query in the Google OAuth2 URL scheme will only permit chosen emails. the only way to raise this exception is through modifying the url query directly. and anyone who does that is officially a dumb dumb

aidswidjaja commented 3 years ago

PS changing the url query won't allow you in with an email outside the domain. It'll just raise AuthForbidden since you can't log in anyway with outside emails :)