Chat Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
April 08, 2026 - @292.65 (what is this?)
Activity rating: Four Stars Posts & Arts: 86/1k.beats Random | Recent Posts | Guild Recents
News: :4u: ~~~~~~~~~~~  :4u: Guild Events: There are no events!

+  MelonLand Forum
|-+  Materials & Info
| |-+  ⛄︎ ∙ MelonLand Info & Questions
| | |-+  MelonLand Passports (API + Auth + Hyper Actions)


« previous next »
Pages: [1] Print
Author Topic: MelonLand Passports (API + Auth + Hyper Actions)  (Read 16 times)
Melooon
Hero Member ⚓︎
*****
View Profile WWWArt


So many stars!
⛺︎ My Room
SpaceHey: Friend Me!
StatusCafe: melon
iMood: Melonking
Itch.io: My Games
RSS: RSS

Guild Memberships:
Artifacts:
old-timey tunes~♪Flinstone VitaminAlways working hard!PoochKnown Apple shillcoolest melon on the web!
« on: Today at @178.77 »

:pc: MelonLand Passports :pc:

Aha  :ha: It's you again! You've found the info thread for the MelonLand Passport system, this is a collection of tools including the API, mAuth and Hyper Actions, that allows you to create your own web apps, sites, games and stufffff, using MelonLand accounts and open data.

The main goal of this project is to make it really easy for people to create their own web apps, without having to worry about making or managing user accounts. So, instead of making a lil community site and trying to convince a few people to sign up to it, you can make a site and instantly allow all 3000 moderated and vetted melonland members to access it with no extra accounts needed  :ozwomp:

I should also credit @dream for the initial idea, we've been discussing this project for over a year and its slowly been taking shape!

For members: When you visit a site offering passport support, it will offer you a link asking for your MelonLand passport, click it, and you'll be shown what data the site is requesting. You can agree or deny. If you agree, site will keep you logged in untill you log out of the forum (then you have to agree again)

You can try a live version of the demo hosted on my blog server: https://thoughts.melonking.net/melonland-api-demo.php

For developers: You just include include the API helper file in your project, and from there your able to access MelonLand accounts with a few easy functions! You can also access the API, and create Hyper Actions!

A view of the passport request screen:



What is mAuth and is it like oAuth? - mAuth is an authentication system, but its not like oAuth. It lets external websites you approve access your id & username, for as long as you are logged in. This essentially means an app can piggyback off melonland accounts and use them as its own accounts safely. Sites that use mAuth are the Wiki, Letters and the Everyone Site (although you don't see the approve screen or them  :grin: )

What is the API? - The MelonLand API is a public interface that can be used for getting data about the forum. You've actualy used it before, its used by Art Hub gallery embeds and Artifact embeds.

What are Hyper Actions? - These are new, they let you perform actions on the forum. For example if you click here, you can enter a hyper action that sends me 1 of your swap credits  :evil: (this is the only hyper action I've made so far...)



How do I get started??

To make use of Passports right now you'll need a PHP server and some basic PHP experience. I have attached the main melonland-api.php file you'll need, plus a basic demo file you can play with!

In the future I hope to port these over to JavaScript too, but to start with here's what ya get!

Multiple parts of the forum already use this system (such as the Nav) to access data, so it does work well, but I expect it will still break horribly being public, so please report bugs and let me know how it does!  :wizard:

 :4u:  GOOD LUCK  :ha:


* melonland-api.php (11.02 kB - downloaded 1 times.)
* melonland-api-demo.php (3.9 kB - downloaded 2 times.)
« Last Edit: Today at @195.00 by Melooon » Logged


everything lost will be recovered, when you drift into the arms of the undiscovered

Artifact Swap: BobshoeYellow FishMicrowaveAir MailI met Dan Q on Melonland!Lasagna
Pages: [1] Print 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | ~ Send Feedback ~ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi

MelonLand Nav

@000

Want to Login or Join ?

Minecraft: Online
Join: craft.melonking.net