I'm a beginner learning GIS, coding, APIs, etc so I hope this isn't a dumb question.
I'm trying to access my schools AGOL organization from Jupyter notebooks using:

But keep getting error 400, can not generate token/bad username or password. I have tried all the variations on this I can think of (capitalization of my username as it appears in AGO, adding /portal to the organization url, etc) but nothing has worked. Is it obvious to anyone here what I'm doing wrong?
I have no trouble logging in to AGO directly or through ArcGIS Pro with these same credentials.
Thanks.