aboutsummaryrefslogtreecommitdiff
path: root/pkg/origin
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-22pkg/origin: Simplify concurrency lockingpg9182
2022-10-14pkg/origin: Use uint64 for uidspg9182
2022-10-14pkg/origin: Implement backoff for AuthMgrpg9182
2022-10-14pkg/origin: Implement AuthMgrpg9182
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.
2022-10-12pkg/origin: Simplify APIpg9182
* Don't include retry and SID management logic. * Use a single endpoint for now.
2022-10-12pkg/origin: Add more request headerspg9182
2022-10-12pkg/origin: Proper error handlingpg9182
2022-10-11pkg/origin: Implement GetUserInfopg9182
2022-10-02pkg/origin: Initial stubpg9182