Code Monkey home page Code Monkey logo

android-auth-manager's People

Contributors

inktomi avatar mattkranzler5 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

android-auth-manager's Issues

ConcurrentModificationException in AuthenticationManager.java line 505

I got crash many times from users for this following issue ,

java.util.ConcurrentModificationException
at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
at com.shiftconnects.android.auth.AuthenticationManager.notifyCallbacksAuthenticationSuccessful(AuthenticationManager.java:505)
at com.shiftconnects.android.auth.AuthenticationManager.onGetAuthTokenSuccessful(AuthenticationManager.java:485)
at com.shiftconnects.android.auth.AuthTokenCallback.run(AuthTokenCallback.java:69)
at android.accounts.AccountManager$11.run(AccountManager.java:1427)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5345)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)
at dalvik.system.NativeStart.main(NativeStart.java)

I could not find out the solution . Please help me for this issue .

Failed to decrypt the refresh token

11-06 13:56:50.128 15162-15303/com.spicinemas E/AuthenticationManager: Failed to decrypt the refresh token
11-06 13:56:50.128 15162-15303/com.spicinemas E/AuthenticationManager: javax.crypto.BadPaddingException: error:06065064:digital envelope routines:EVP_DecryptFinal_ex:bad decrypt
11-06 13:56:50.128 15162-15303/com.spicinemas E/AuthenticationManager: at com.android.org.conscrypt.NativeCrypto.EVP_CipherFinal_ex(Native Method)
11-06 13:56:50.128 15162-15303/com.spicinemas E/AuthenticationManager: at com.android.org.conscrypt.OpenSSLCipher.doFinalInternal(OpenSSLCipher.java:420)
11-06 13:56:50.128 15162-15303/com.spicinemas E/AuthenticationManager: at com.android.org.conscrypt.OpenSSLCipher.engineDoFinal(OpenSSLCipher.java:456)
11-06 13:56:50.128 15162-15303/com.spicinemas E/AuthenticationManager: at javax.crypto.Cipher.doFinal(Cipher.java:1204)
11-06 13:56:50.128 15162-15303/com.spicinemas E/AuthenticationManager: at com.shiftconnects.android.auth.util.AESCrypto.decrypt(AESCrypto.java:83)
11-06 13:56:50.128 15162-15303/com.spicinemas E/AuthenticationManager: at com.shiftconnects.android.auth.AuthenticationManager.decryptRefreshToken(AuthenticationManager.java:377)
11-06 13:56:50.128 15162-15303/com.spicinemas E/AuthenticationManager: at com.shiftconnects.android.auth.AuthenticationManager.getNewAuthTokenWithRefreshToken(AuthenticationManager.java:203)
11-06 13:56:50.128 15162-15303/com.spicinemas E/AuthenticationManager: at com.shiftconnects.android.auth.AuthenticationManager.getNewAuthToken(AuthenticationManager.java:190)
11-06 13:56:50.128 15162-15303/com.spicinemas E/AuthenticationManager: at com.shiftconnects.android.auth.AuthenticationManager.getAuthToken(AuthenticationManager.java:177)

The above log occurred when refresh the token.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.