Update: I managed to put together a sample webapp that does OAuth login with Mastodon! It's written in Python, using Flask and SQLAlchemy. https://github.com/singingwolfboy/mastodon-oauth-example
I have more plans for this code, but I'll leave this repo as an example and continue working separately. Hopefully others will find it useful and informative! #mastodev
Do I need to save the server URL in a database or in the user's session cookie or something? Is it present in the redirected request from the Mastodon server? Can I use the `state` parameter to save this information? (If I use the `state` param for this, it's no longer useful to avoid MiTM attacks...) #mastodev
I know #OAuth decently well, but decentralization adds a new and confusing spin on it.
Let's say I want to make a web app that allows users to log in with Mastodon. The user types in the server URL, gets redirected to the server, approves the auth request, and is redirected back to my web app with a code. Now I need to make an API request to the server to get the OAuth token -- but at this point, I've lost the original server URL. How do I know which server to contact? #mastodev
U.S. Supreme Court endorses gay, transgender worker protections
Because I realized I haven’t said it yet: black lives matter. I wish we lived in a world where everyone understood that, but we don’t. So I’m saying it clearly, this is what I believe and what I know to be true.
This is fascinating! The origin of the term “sharding”, in a database context. Looks like it originally comes from the lore of the massive multiplayer online game “Ultima Online”! https://www.raphkoster.com/2009/01/08/database-sharding-came-from-uo/ #technerd
THE BEST WORST PORN INTRO EVER! (Safe for work, believe it or not)
Want to play digital board games with friends and relieve the boredom of coronavirus lockdown? Humble Bundle's got you covered. Check it out! https://www.humblebundle.com/games/asmodee-play-with-friends
I bought the bundle, and I'm looking for friends to play with! (Feel free to toot me if you want to play!)
Zoom just acquired @keybase, hoping that doing so will improve their reputation for being extremely lax in security. https://blog.zoom.us/wordpress/2020/05/07/zoom-acquires-keybase-and-announces-goal-of-developing-the-most-broadly-used-enterprise-end-to-end-encryption-offering/
However, it appears that all this has done is caused security-conscious Keybase users to stop using Keybase. Trust can’t be bought.
I've been staring at this for far too long
The weather in Amsterdam has been so beautiful lately, but I’ve been trying to avoid going out because of #coronavirus. I think I need to change that perspective, though, because I’ve gained a noticeable amount of weight
Guess I’m going out for walks more, virus or not!
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!