←back to thread

91 points richardzhang | 4 comments | | HN request time: 0.804s | source
1. EvanFisher ◴[] No.42179514[source]
Look awesome! How do you get a bearer token? And did you look into authing transactions for other users?
replies(1): >>42179570 #
2. alanloo ◴[] No.42179570[source]
Good question! You can get the bearer token from the cookies in the browser. We also offer a hosted service where we handle the entire integration (authentication and hosting).
replies(1): >>42179628 #
3. OptionOfT ◴[] No.42179628[source]
Does that imply I need to give you my username and password?
replies(1): >>42179639 #
4. alanloo ◴[] No.42179639{3}[source]
If you're using your own account, you can just use your own authentication cookies, but they do expire. If you're providing these functionalities for others' accounts and if you're ok with users logging in every time for usage, then no. If you'd prefer maintaining the log-in session for others, then unfortunately yes. I know this isn't ideal, but this is the unfortunate nature of unofficial APIs.