Basic login implemented with developer access token. To obtain one, you need to follow the steps in the README.
The login verifies the access token by connecting to the Wikimedia REST API (but we should move that logic into the api app!) and saving the access token and the username in the user's session.
I don't know if it's a good idea to create an user in the database, I don't think we need to do that and it saves a lot of overhead! I think other WMB apps also don't save users and just save the information in a session.
Basic login implemented with developer access token. To obtain one, you need to follow the steps in the README.
The login verifies the access token by connecting to the Wikimedia REST API (but we should move that logic into the
api
app!) and saving the access token and the username in the user's session.I don't know if it's a good idea to create an user in the database, I don't think we need to do that and it saves a lot of overhead! I think other WMB apps also don't save users and just save the information in a session.