ceph / pulpito-ng

5 stars 8 forks source link

Github Authentication #52

Closed VallariAg closed 1 year ago

VallariAg commented 1 year ago
  1. Login button redirects to teuthology API's login
  2. User data is saved in cookies by the callback by this PR: https://github.com/ceph/teuthology-api/pull/12
  3. Parse cookie data

For local setup, .env file:

VITE_PADDLES_SERVER=http://localhost:8080/
VITE_TEUTHOLOGY_API=http://localhost:8082/

TODO (refactoring):

render[bot] commented 1 year ago

Your Render PR Server URL is https://pulpito-ng-pr-52.onrender.com.

Follow its progress at https://dashboard.render.com/static/srv-cjd9ce2vvtos73bueh2g.

netlify[bot] commented 1 year ago

Deploy Preview for pulpito ready!

Name Link
Latest commit 237c06104bfda0e4c50a0e1e2f455d4033a24931
Latest deploy log https://app.netlify.com/sites/pulpito/deploys/64df6a85690a760008eb4c51
Deploy Preview https://deploy-preview-52--pulpito.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

VallariAg commented 1 year ago

When I click the login button, I'm first redirected to -api's /login, which redirects, to /login/, which then redirects to /login/None?client_id=None&scope=read:org

This could be because of missing GH_AUTHORIZATION_BASE_URL variable in api's .env file. Maybe I can add a .env file without the secrets, only keynames.