dashboard icon indicating copy to clipboard operation
dashboard copied to clipboard

Local startup problem

Open HKbool opened this issue 1 year ago • 19 comments

local development error

QQ截图20240130142803 Unable to configure https

How to close auth0 ? Or run it

HKbool avatar Jan 30 '24 06:01 HKbool

Error after running locally 20240130144253

HKbool avatar Jan 30 '24 06:01 HKbool

Hello @HKbool the issue seems to be related to a wrongly set redirect URL, see the yellow box from your screenshot

If you are setting a redirect uri please just use the path

mlsmaycon avatar Jan 30 '24 07:01 mlsmaycon

@mlsmaycon Are there any cases for local startup? auth0 First time using

HKbool avatar Jan 30 '24 07:01 HKbool

That's a common case for development. What would be your case for running the dashboard locally?

mlsmaycon avatar Jan 30 '24 07:01 mlsmaycon

Local configuration 20240130160204

HKbool avatar Jan 30 '24 08:01 HKbool

from your screenshot, you can remove the following from your .local-config.json:

"hotjarTrackID" "redirectURI" "silentRedirectURI" "tokenSource" "dragQueryParams"

mlsmaycon avatar Jan 30 '24 08:01 mlsmaycon

After deleting the above configuration 1111111111111111 auth0 How to configure

HKbool avatar Jan 30 '24 08:01 HKbool

222222222229 Current configuration

HKbool avatar Jan 30 '24 08:01 HKbool

@HKbool can you add the forward slash to your redirect URLs: http://localhost:3000/

Also, just a heads up, we are about to merge V2, see the PR: https://github.com/netbirdio/dashboard/pull/316, with this change, your local config file should move to the repository root.

mlsmaycon avatar Jan 30 '24 08:01 mlsmaycon

auth0 Unable to configure http 5555555555555

HKbool avatar Jan 30 '24 08:01 HKbool

As the error suggested, you can't set an http endpoint for login. But for NetBird, you won't need one. Just set it as the example below: image image

mlsmaycon avatar Jan 30 '24 08:01 mlsmaycon

@mlsmaycon Thank you very much, the problem is solved

HKbool avatar Jan 30 '24 08:01 HKbool

777777777777 Do I need to start the management server? @mlsmaycon

HKbool avatar Jan 30 '24 09:01 HKbool

You need a management server running. However, the error is related to an email that was not verified.

mlsmaycon avatar Jan 30 '24 09:01 mlsmaycon

Prompt for unverified email after launching program,Do you need to set other parameters?

HKbool avatar Jan 31 '24 01:01 HKbool

How to log in with account and password ? @mlsmaycon

HKbool avatar Jan 31 '24 08:01 HKbool

You can create it on auth0 under the user management option.

Then, you can also mark the user email as verified too once you are done creating it.

mlsmaycon avatar Jan 31 '24 08:01 mlsmaycon

@mlsmaycon Have a question discussion community?

HKbool avatar Jan 31 '24 08:01 HKbool

We have a Slack community

mlsmaycon avatar Jan 31 '24 09:01 mlsmaycon