An Android app that communicates with a non-Google OpenID Connect provider.
Please note:
This is currently unmaintained, check out kalemontes/OIDCAndroidLib instead.
Use Google’s own APIs, if you want to connect to their OpenID provider servers. This project is meant to connect to non-Google providers, which those APIs don’t support.
Since OpenID Connect is basically an extension of OAuth 2, it’s convenient to use readily available libraries as the foundation. This is built upon google-oauth-java-client.
AccountManager
You’ll need to register your app with an OIDC provider and put your configuration data into
Config.java
.
When you launch the app, you’ll see this:
Tapping the button will let you log in to the provider and authorise the app to use your data.
If all goes well:
AccountManager
preferred_username
.)You can add more accounts via Android’s settings. When there are multiple accounts, the app will ask you to choose one of them when logging in.
This project depends on the following libraries. They are fetched automatically via Maven. The last three are for convenience and can probably be written out if needed.
This project was originally made to be included in the Ach So! Learning Layers project.
It was developed by Leo Nikkilä at the Learning Environments research group of Aalto University, Finland.
Licensed under the MIT licence. See LICENSING.md.