at a minimum you need CAPTCHAs on all signup routes, to block/disable the createAccount API flow, etc.
we know this should be smoother.
at a minimum you need CAPTCHAs on all signup routes, to block/disable the createAccount API flow, etc.
we know this should be smoother.
- Added rate limiter on the createAccount end point so you can set stricter rate limits
- No more hard exception if pds.env is not there
- Fixed a bug on getSession for oauth(whoops)
- Bit more logging on errors
- Added rate limiter on the createAccount end point so you can set stricter rate limits
- No more hard exception if pds.env is not there
- Fixed a bug on getSession for oauth(whoops)
- Bit more logging on errors
createAccount worked !
Data in Postgress, HTTP 200 and did:plc looks reasonable …
Now I need to figure out what other PDS return …
😀
#codinginpublic #PDS #ATProtoKit
createAccount worked !
Data in Postgress, HTTP 200 and did:plc looks reasonable …
Now I need to figure out what other PDS return …
😀
#codinginpublic #PDS #ATProtoKit
www.youtube.com/watch?v=_8u2...
1. User enters email
2. Server silently calls createAccount on your PDS
3. DID provisioned, session token issued (all server-side)
4. User lands in the app and can write immediately
5. Send email: "you're signed in as @handle — tap to claim or edit your identity"
1. User enters email
2. Server silently calls createAccount on your PDS
3. DID provisioned, session token issued (all server-side)
4. User lands in the app and can write immediately
5. Send email: "you're signed in as @handle — tap to claim or edit your identity"
But actually they do. 1/
(PS. I already have another account on Spark PDS.)
But actually they do. 1/
✅ Get cocoon up and running
✅ Setup a test account
✅ Implement an S3 blob store
✅ Enable S3 backups
❌ Migrate a test account
☑️ Update cocoon createAccount to work with GOAT
☑️ Migrate a test account
☑️ Migrate my main account
☑️ Question my life choices
✅ Get cocoon up and running
✅ Setup a test account
✅ Implement an S3 blob store
✅ Enable S3 backups
❌ Migrate a test account
☑️ Update cocoon createAccount to work with GOAT
☑️ Migrate a test account
☑️ Migrate my main account
☑️ Question my life choices
Next is adding gatekeeping for the createAccount endpoint with a captcha so admins can turn off the need for invite codes to stop bots
Next is adding gatekeeping for the createAccount endpoint with a captcha so admins can turn off the need for invite codes to stop bots
But it also has a way to lock down createAccount for only account migrations and can do new accounts via oauth that you have the captcha on
But it also has a way to lock down createAccount for only account migrations and can do new accounts via oauth that you have the captcha on
Create your account: https://www.marriott.com/loyalty/createAccount/createAccountPage1.mi
Download the Marriott app: https://www.marriott.com/marriott-brands/mobile-app.mi
Create your account: https://www.marriott.com/loyalty/createAccount/createAccountPage1.mi
Download the Marriott app: https://www.marriott.com/marriott-brands/mobile-app.mi
My latest thing I'm working on is a microservice that sits on top of the PDS(or beside it?). The big goal is you do not have to fork the PDS. But adds things like 2fa and possibly some other things for other endpoints like a captcha on createAccount
tangled.sh/@baileytowns...
My latest thing I'm working on is a microservice that sits on top of the PDS(or beside it?). The big goal is you do not have to fork the PDS. But adds things like 2fa and possibly some other things for other endpoints like a captcha on createAccount
tangled.sh/@baileytowns...
✅ Get cocoon up and running
✅ Setup a test account
✅ Implement an S3 blob store
✅ Enable S3 backups
✅ Update cocoon createAccount to work with GOAT
✅ Migrate a test account
☑️ Fix calling authenticated feeds
☑️ Migrate my main account
☑️ Question my life choices
I'm getting feed generator rejecting because wrong aud / lxm claim in the token from proxying.
Reference PDS seems to have a special case for getFeed.
✅ Get cocoon up and running
✅ Setup a test account
✅ Implement an S3 blob store
✅ Enable S3 backups
✅ Update cocoon createAccount to work with GOAT
✅ Migrate a test account
☑️ Fix calling authenticated feeds
☑️ Migrate my main account
☑️ Question my life choices
SessionConfiguration has nearly ready. I've made default implementations of createAccount, createSession, and getSession. refreshSession and deleteSession should be complete before the end of the day.
SessionConfiguration has nearly ready. I've made default implementations of createAccount, createSession, and getSession. refreshSession and deleteSession should be complete before the end of the day.