Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Key is missing but is set in contstants. #307

Closed
quadronet opened this issue Jan 17, 2024 · 1 comment
Closed

API Key is missing but is set in contstants. #307

quadronet opened this issue Jan 17, 2024 · 1 comment
Assignees

Comments

@quadronet
Copy link

quadronet commented Jan 17, 2024

In Version 11.0 the API Key for google Maps don´t work in Backend. The key is set in the contstants. PHP 8.2, TYPO3 12.4.9

You can´t create any address without this key.

Ok, the API Key must be set in settings for the extension. Now it works...

@sfroemkenjw sfroemkenjw self-assigned this Jan 18, 2024
@sfroemkenjw
Copy link
Contributor

Hello @quadronet

yes, right.

As you're in TYPO3 backend context you don't have access to any TypoScript. That's why I needed a location to store the API key out of TypoScript context. Further we had the problem with TYPO3's multi-domain feature. We need a location for that key which is available from everywhere in backend. Since years we are using the Extension Settings. On current TYPO3 systems I'm sure we can set that key in config.yaml of site.

For FE we need the site context to make it possible to have different API keys for each site.

Stefan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants