~/talk

How to best authenticate with non-Google identities

Talkat droidcon Berlin 2021 · 2021-10-20..10-22· [security]
slides:none on file

Announcement that the platform is deprecating WebView for authentication and a clear walkthrough of the OAuth2 authorization code flow for native apps using Chrome/Samsung custom tabs. Shows concrete setup with Ping Identity: registration, authorization and token endpoints, redirect URIs and an example client ID (no hardcoded secrets). Implements AppAuth with an Auth0 JWT decoder to extract email/name/picture, OkHttp/Picasso for API and images, and uses AppAuth’s performActionWithFreshTokens to refresh tokens and handle logout via end session redirect.

AI-written summary · about

  1. 0:00Introduction and context
  2. 1:43Authentication challenges explained
  3. 2:48OAuth 2 authorization code flow
  4. 4:55Setting up third-party identity provider
  5. 7:22AppAuth library implementation
  6. 10:29Android manifest configuration
  7. 11:52Authorization service setup
  8. 12:55Launching authorization request
  9. 14:40Handling authorization response
  10. 15:43Exchanging code for tokens
  11. 17:06Processing tokens and user data
  12. 18:08Making API calls with tokens
  13. 19:10Logging out and cleanup
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.