Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

Draft: Authentication and user accounts

Ellen Poe requested to merge ellenhp/accounts into main

Description

This sets the app up to integrate with a keycloak instance. In the future, this MR will be updated to either have a configurable oidc issuer or point to murena cloud in a build variant.

For the curious, this is an optional feature that we'll probably allow users to semi-permanently hide (or more accurately, demote to advanced settings). The purpose is not for tracking but for guarding expensive API endpoints behind authentication. We don't want to put e.g. a Mapbox token in the APK for traffic-aware routing, but we do want to offer traffic-aware routing, and this is how we reconcile those goals.

Technical details

We make use of AppAuth to help avoid some of the footguns associated with oidc.

Issues

#11

10 commandments of code review

👪 ❤️ https://gitlab.e.foundation/groups/e/-/wikis/contribute/development-processes/code-review-guidelines

Edited by Ellen Poe

Merge request reports

Loading