OpenCRE icon indicating copy to clipboard operation
OpenCRE copied to clipboard

Added Login and resource selection functionality .

Open Pa04rth opened this issue 10 months ago • 2 comments

This PR is a solution to the issue #586 [https://github.com/OWASP/OpenCRE/issues/586]

  • Here login is added via Auth0 , currently the credentials /keys are of my account which must be replaced by organization later.
  • Also User may select his resource over the dashboard page and all the results will be filtered
  • the data will be saved in the cookie
  • the resource can be changed by select resource button on dashboard , cookie will be automatically updated.
  • till this time the editing or CSS is not much added for dashboard page , which will be done later .

A demo video will be attached in this message showing the functionality .

https://github.com/user-attachments/assets/ddd00d07-67dd-42cf-91fe-d0e969bd06ec

In last of this video I have shown the new select resource button to update your cookie

Pa04rth avatar Mar 15 '25 06:03 Pa04rth

looks good, last change i think that's needed: can you please add some instructions on the README on how to use this with auth0? and does it work locally without auth if a user wants to use without auth?

northdpole avatar Mar 26 '25 16:03 northdpole

Hey @northdpole , that's great that my solution is worthful . But there are some key changes which are required to be made by you before you merge this PR :-

  • Please create a Auth0 account for this project and update the credentials at your end , this will allow all the future login to be displayed to you ,not me ! [Restart the dev server after updating .env]
  • Secondly till now the user dashboard page is empty , did you want to add up something or show something over it .Please inform me.
  • Yes , I will definitely add a README .If you want to use it locally (I think you want to create a test user ), I will add instruction to create that too !
  • If you want to add something more on top of it ping me !!

Pa04rth avatar Mar 27 '25 03:03 Pa04rth