Friday, January 29, 2021

Re: Django Microsoft Authentication Backend not succeeding on new deployments

On Sat, Jan 23, 2021 at 7:41 PM Ryan Nowakowski <ryan@fattuba.com> wrote:
>
> On Sat, Jan 23, 2021 at 11:05:14AM -0800, Larry Martell wrote:
> > On Sat, Jan 23, 2021 at 8:14 AM Ryan Nowakowski <tubaman@fattuba.com> wrote:
> > >
> > > A couple of places to look:
> > >
> > > 1. Different domains on the new boxes? You'll need to add the new callback urls on the Microsoft side.
> > > 2. Different version of Python on the new boxes?
> >
> > Same domain name, same version of python and all python packages.
> > There are some minor revision differences in a bunch of OS level
> > packages. Could that be a factor?
> >
>
> Did you create your virtualenv with --system-site-packages? If not then
> I don't think the OS packages will be a factor.

We finally found the issue - I said we had the same version of all the
python packages but we did not - the new system had 2.0.1 version of
pyjwt. When we downgraded to 1.7.1 it started working again. The
requirements file for Django Microsoft Authentication Backend have
pyjwt [required: Any]

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CACwCsY4d_%3D3Q660gF%3DtrcAQmj7bkG%2BMnXaYf%3DgCt8WH0UnCkjg%40mail.gmail.com.

No comments:

Post a Comment