I got it working, the order matters I guess.

try:
    from mezzanine_api.settings import *
except ImportError:
    pass


OAUTH2_PROVIDER = {
    'ALLOWED_REDIRECT_URI_SCHEMES': ['http', 'https', 'custom-scheme'],
}


On Friday, October 21, 2016 at 6:22:15 PM UTC-4, Akhlaq Rao wrote:
>
> Hi Guys, Does anybody know if I can override OAUTH2_PROVIDER {} settings 
> into my app's settings? I see these settings being used in mezzanine-api 
> settings from Django oauth toolkit. I would like to add a custom uri to 
> 'ALLOWED_REDIRECT_URI_SCHEMES': ['http', 'https', 'custom-scheme']
>
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to