You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could there be a restricted config in allowedGraphqlOrigins that would dynamically restrict domains based on the list of sites created in the CMS, like using Craft::$app->getSites()->getAllSites() or else ?
And/or, as the sites base-url created in Craft are mostly if not all based on aliases, could we get the aliases working in the allowedGraphqlOrigins config setting ?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Could there be a restricted config in
allowedGraphqlOrigins
that would dynamically restrict domains based on the list of sites created in the CMS, like usingCraft::$app->getSites()->getAllSites()
or else ?And/or, as the sites base-url created in Craft are mostly if not all based on aliases, could we get the aliases working in the
allowedGraphqlOrigins
config setting ?I currenlty have :
But its not converting them in the
GraphqlController->actionApi
.I am open to suggestion if I am doing it wrong.
Beta Was this translation helpful? Give feedback.
All reactions