aimeos/graphql timeout, requires oauth token

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
rowild

aimeos/graphql timeout, requires oauth token

Post by rowild » 23 Feb 2023, 08:40

Trying to install aimeos on Laravel 9 on a local ddev env following these instruction on github:
https://github.com/aimeos/aimeos-laravel#installation

I get this message when running `composer update`:

```sh
> \Aimeos\Shop\Composer::join
GitHub API limit (0 calls/hr) is exhausted, could not fetch https://api.github.com/graphql. Create a GitHub OAuth token to go over the API rate limit. You can also wait until ? for the rate limit to reset.

When working with _public_ GitHub repositories only, head to https://github.com/settings/tokens/new? ... 02-23+0829 to retrieve a token.
This token will have read-only permission for public information only.
When you need to access _private_ GitHub repositories as well, go to https://github.com/settings/tokens/new? ... 02-23+0829
Note that such tokens have broad read/write permissions on your behalf, even if not needed by Composer.
Tokens will be stored in plain text in "/home/robertwildling/.composer/auth.json" for future use by Composer.
For additional information, check https://getcomposer.org/doc/articles/au ... thub-oauth
Token (hidden):
```

I have no problem generating an oauth key, but I wonder, if such a scenario is really intended by aimeos? If so, may I ask why?

UPDATE
I should also mention that the start page in Aimeos Laravel is not the landing page that you present in the docu, but a list of products along with filters. IN TYPO3, you'll get the landing page, but not with the smaller list of products right beneath it (as shown in the images on your github page).

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: aimeos/graphql timeout, requires oauth token

Post by aimeos » 26 Feb 2023, 09:38

rowild wrote: 23 Feb 2023, 08:40 I get this message when running `composer update`:

> \Aimeos\Shop\Composer::join
GitHub API limit (0 calls/hr) is exhausted, could not fetch https://api.github.com/graphql. Create a GitHub OAuth token to go over the API rate limit. You can also wait until ? for the rate limit to reset.
You can ignore that message (it's just a repo check) and it doesn't has any consequences. It only occurs if you don't have your Github token in your composer auth.json file.
rowild wrote: 23 Feb 2023, 08:40 I should also mention that the start page in Aimeos Laravel is not the landing page that you present in the docu, but a list of products along with filters. IN TYPO3, you'll get the landing page, but not with the smaller list of products right beneath it (as shown in the images on your github page).
When you install the Aimeos Laravel distribution, the home page is the landing page like in the docs. If you install the Aimeos package in an existing Laravel application, you have to add the route for the home page yourself like described here:
https://github.com/aimeos/aimeos-laravel#frontend
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

rowild

Re: aimeos/graphql timeout, requires oauth token

Post by rowild » 26 Feb 2023, 10:13

Well, it is a new Laravel app and the landing page is NOT the same as in the docs. But I will try with another fresh install and provide feedback again.

User avatar
aimeos
Administrator
Posts: 7895
Joined: 01 Jan 1970, 00:00

Re: aimeos/graphql timeout, requires oauth token

Post by aimeos » 28 Feb 2023, 15:39

Can you post a link to the image of what you expect on the home page?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply