Skip to content

AccountManager supportable Login Authentication  #42

Description

@LOG-TAG

Android SDK needs AccountManager supportable Login Authentication

The current api gives following json results after login with X-BB-SESSION as token !!

{
"result": "ok",
"data": {
"user": {
"name": "cesare",
"status": "ACTIVE",
"roles": [
{
"name": "registered"
}
]
},
"signUpDate": "2014-01-23 23:00:18",
"X-BB-SESSION": "41b7ce0f-be44-4737-b346-907483155ad8"
},
"http_code": 200
}

1>There is no option in baasbox android sdk api for adding the auth token (X-BB-SESSION ) to BaasDocument (to retrive REST API) such that it can be used for write-your-own-android-authenticator ( http://blog.udinic.com/2013/04/24/write-your-own-android-authenticator/) with Android AccountManager!

2>AccountManager api we can't do Multi user login !

  1. We can't use sync adapter with AccountManager !

Activity

  1. LOG-TAG commented on Jun 10, 2015

    @LOG-TAG
    Author

    My own answer for this: use don't use sdk! use (cURL type) plain REST api call mentioned in documentation ! :( :( :(

    but problem is I'm not sure token invalidation is supported ! ( Meaning, after invalidating the token the getAuthToken button will still return a token, but it’ll be only after he asks for it again from the server)

    More info:

    if we change the password of gmail in web app, mobile shows some error in login !! it will ask the password to enter again !! for doing this reason I'm asking !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions