aboutsummaryrefslogtreecommitdiff
path: root/pkg/origin/login.go
AgeCommit message (Collapse)Author
2022-10-25all: Rewrite Origin auth (#7)pg9182
* all: Rewrite juno auth, split into separate packages * pkg/juno: Implement two-factor auth * pkg/origin: Add AuthMgr option to save HAR archives * pkg/atlas: Add config option to save HAR archives
2022-10-22pkg/origin: Return an error if there is a 2fa prompt during loginpg9182
2022-10-22pkg/origin: Switch login from originX to juno (fixes #7)pg9182
* Update URLs. * Handle new form elements. * Handle TOS update page. * Handle new final code redirect flow. Will likely need to update the nucleus token stuff once origin is deprecated completely since that still uses the ORIGIN_JS_SDK flow. I'm also planning to refactor this later since it's gotten a bit messy.
2022-10-14pkg/origin, cmd/origin-login-test: Return nucleus token expirypg9182
2022-10-12pkg/origin, cmd/origin-login-test: Handle auth errorspg9182
2022-10-12pkg/origin, cmd/origin-login-test: Implement Nucleus token and SID stuffpg9182
Also refactor types to make things more clear.
2022-10-12pkg/origin: Implement Origin loginpg9182
Should be somewhat resilient against future updates.