 Hello everyone and welcome to my next cloud single sign-on for android talk here at the conference some of you might remember that i gave this talk two years ago and today i want to talk a little about about our experience and the journey we've took ever since and if the ideas that we had back in the days were actually working out so let's do a quick real cap of what was the issue that we tried to solve so for users if you want to get started using next cloud it would be you also want to set up different next cloud apps on your android phone and to do that you have to log in into each of those apps and they all have a different login dialogue different layout they ask you some questions about your setup which is quite a hassle to do and it takes a lot of time so a lot of users complained about this issue for developers if you want to get started with next cloud apps you have to implement the whole network stack you need to look into south sign certificate support proxies if next cloud is releasing a new login method for example the two-factor authentication you need to implement that as well at some point and there are many more issues that have went into detail in my talk from 2018 so feel free to check that out the solution we've came up with is the single sign on system which is a centralized login method so for users it's easy to log in into different kinds of apps into all next cloud apps which is a matter of three tabs as i'll show you just in a second and it will also handle network connections for you so as a developer you don't need to worry about implementing those login mechanisms or the south sign certificate supports etc the single sign on system also stores login data in a secure way for you so apps don't have direct access to your login data anymore and apps can only make requests to your next cloud server by using a token that they received from the single sign on system and what's new is that we've created a retrofit api that if you already have retrofit api specifications you can just switch over to the next cloud single sign on system and we'll be able to pick up those api specifications for retrofit so which apps are actually using it so on the play store right now we have three apps that are using the single sign on feature and they're already using it for almost two years now so it's the news app the deck app and the notes app and our users are loving it so far we hear great feedback from them that it's easy to log in now and that it makes fun to actually switch accounts and do other things with it let me show you how it works now so when you start the app for the first time it will show you a login screen where you have like one button which says like login using next cloud files app and if you click that button it will show you a list of all the accounts that you have installed or set up in your next cloud files app so then you can choose one of them and click on okay and then it will show you a dialogue asking you if you want to grant permission to that account for this specific app to access it and if you click on allow there will be a token exchange between those two apps so the next news app then will be able to to access your next cloud server so let's summarize our experience or what the reality looks like from the developer's perspective we didn't have to worry about login security and network related issues anymore because all of this is handled now by the next cloud single sign-on system and for all three apps that I've mentioned before we had very few issues reported on github about the single sign-on system so this was a huge benefit for us because our issues before that were that there were a lot of issues that were related to network and related issues or sales on certificates or all kinds of like network related stuff so this is all gone now and we we only had a very few issues on the single sign-on system from user's perspective it's it's not way easier to log into multiple apps because it's just a matter of three three tabs as you just saw the unified user experience is also a thing that you have in all the apps the login dialog looks the same and users are actually requesting other apps that don't use single sign-on yet to integrate it so users are also loving it so to get involved there's our content information here and the github page so a huge thanks to everyone that was involved especially to be a Stefan and Artur otherwise the project wouldn't be what it is today and we are still looking for developers to to check it out and to integrate it into your app so if you have any questions feel free to contact us and enjoy the conference