-
Notifications
You must be signed in to change notification settings - Fork 10
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
Authentication callback #12
Conversation
d5e35e5
to
6d80019
Compare
af5275d
to
939fb97
Compare
With these environment variables:
I'm getting redirected to https://github.com/login/oauth/authorize?client_id=None&scope=read:org I do think that some error handling would be good here, and also some documentation for how to configure this. |
I think you might have to create them. I remember that Junior shared secrets of his oauth app setup with us over an email, but the callback URL there would be localhost.
Sounds right, I'll add error handling and documentation for this! |
8c12ce0
to
3ff3850
Compare
@kamoltat please check the changes in README and |
5b80d1f
to
c33bcc0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just minor comment, other than that should be good, thank you for making this change!
c33bcc0
to
407e31e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay this is good now!
signed commit issue ... |
Need to merge #14 and then I'll rebase this |
@VallariAg Just waiting for revert on #11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Vallari <[email protected]>
To send cross site requests from pulpito-ng with `withCredentials`, the server cannot have `*` as allowed origins. Signed-off-by: Vallari <[email protected]>
Signed-off-by: Vallari <[email protected]>
Signed-off-by: Vallari <[email protected]>
Signed-off-by: Vallari <[email protected]>
Signed-off-by: Vallari Agrawal <[email protected]>
And add random value of SESSION_SECRET_KEY in .env.dev Signed-off-by: Vallari Agrawal <[email protected]>
407e31e
to
aa04615
Compare
Tested this locally and things went smoothly |
"GH_USER"
(github username)Pulpito PR: ceph/pulpito-ng#52