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

'Invalid parameter: redirect_uri' Error #10

Closed
MarkAshraf96 opened this issue Apr 20, 2023 · 3 comments
Closed

'Invalid parameter: redirect_uri' Error #10

MarkAshraf96 opened this issue Apr 20, 2023 · 3 comments

Comments

@MarkAshraf96
Copy link

Hello,

I have followed the steps in the "Run frontend on localhost.md".

1- On localhost:3001 or localhost:3002
I get the the error 'Invalid parameter: redirect_uri' and on inspecting the page I got this error

[Error] TypeError: null is not an object (evaluating 'document.getElementById('providers').firstChild')
	(anonymous function) (Main.js:273)

image

2- On localhost:3000
I get redirected to this URL, and I am not sure if that's the intended use case or not.

However, I found some worthy notes that I can contribute with in the previously mentioned URL on the UI/UX side, and I would like to know if I can arrange a short meetings with one of the maintainers.

@evegufy
Copy link
Contributor

evegufy commented Apr 24, 2023

I think you need to adjust the default env specific values for your local setup and not use the default ones:
https://github.com/eclipse-tractusx/portal-frontend/blob/main/cx-portal/public/index.html#L33
https://github.com/eclipse-tractusx/portal-frontend-registration/blob/main/public/index.html#L36
Among others, for the centralidp.

But sure, it's possible to arrange a short meeting. If you want you can send me a (Teams) call for tomorrow afternoon.
Maybe we can also discuss eclipse-tractusx/portal#9.

@MarkAshraf96
Copy link
Author

That would be great, is 2pm good for you?
And if you can send me your email, so I can create the meeting.

@evegufy
Copy link
Contributor

evegufy commented Apr 25, 2023

As explained in todays call, I'll close the issue.
The 'Invalid parameter: redirect_uri' is expected when accessing localhost:3001 or localhost:3002 directly as the access is supposed to happen via the reverse proxy server at port 3000.

@evegufy evegufy closed this as completed Apr 25, 2023
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