fusio icon indicating copy to clipboard operation
fusio copied to clipboard

Error: "No valid scope given" when attempting to login to the fusio app, upon a fresh install

Open Rob3487 opened this issue 3 years ago • 2 comments

Hello, When I try to login to the fusio app I receive the error "No valid scope given".

I have just completed a composer install of fusio on ubuntuo 20.04 following the instructions given here, using a postgres database (same issue experienced with mysql), upon trying to login to the fusio app I am receiving an "No valid scope given" error.

Any suggestions as to what the problem might be?

no-valid-scope-given

Rob3487 avatar Nov 27 '22 19:11 Rob3487

Hi @Rob3487, ok could you try to add a new admin user using the php bin/fusio adduser command and using 1=Administrator as role and then try to login with this user. Otherwise you could also check the PHP logs whether the installation worked as expected.

chriskapp avatar Nov 27 '22 20:11 chriskapp

Hi and thank you for your reply.

Ah, silly me!

Having received your reply; I reset the database and had another go at the database setup and adding a new user.

I noticed now that on the first run (where I experienced the "No valid scope given" issue), I had wrongly typed 'Administrator' instead of typing '1' at the add user command prompt depicted in the below image.

This time through I correctly entered '1', and the install is now successful, I can now login as expected.

[image: image.png]

Issue now solved!

Thank you for your support.

Rob

Sent using EngageBay https://ebext.in/website

On Mon, 28 Nov 2022 at 06:13, Christoph Kappestein @.***> wrote:

Hi @Rob3487 https://github.com/Rob3487, ok could you try to add a new admin user using the php bin/fusio adduser command and using 1=Administrator as role and then try to login with this user. Otherwise you could also check the PHP logs whether the installation worked as expected.

— Reply to this email directly, view it on GitHub https://github.com/apioo/fusio/issues/484#issuecomment-1328330662, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVY65WM57GGCQCWYS5XVG3WKO6HVANCNFSM6AAAAAASMVOWXM . You are receiving this because you were mentioned.Message ID: @.***>

Rob3487 avatar Nov 27 '22 21:11 Rob3487