I’m using Email, Google, and LinkedIn as auth providers, and I currently have things configured through the admin. It seems like if I want to extend the scopes that get requested, I have to move the configuration from the admin to the plugins.js file. I’m having trouble finding documentation for how this should be done.
So my first question is if there’s any documentation that I can read for reference? If so, I don’t need to bother you all with my specific questions!
However, if that’s not really available, here are the things I’m wondering about:
- Does a programmatic configuration override or extend or get overridden by the admin configuration?
- Specifically for email, can that be configured by just setting
email: { enabled: true }
? - For third party providers, how do I determine the scope names that get added to the scope array? I assume it’s a per-provider thing, but, for example, i’m confused about whether Google should use
profile
or./auth/userinfo/profile
, the latter of which is what shows in the Google console for the OAuth app.
This topic has been created from a Discord post (1273663551310925854) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord