Questions tagged [appauth]

Tag for the AppAuth library. Use in conjunction with a platform specific tag like `ios`, `android` or `electron`.

AppAuth is an SDK for native applications that facilitates interaction with OAuth2 and OpenID Connect authorization servers. Platform specific libraries are available for Android, iOS and JS-based environments like Node and Electron.

AppAuth follows the current best practice for federated authentication and authorization in native apps. This includes:

  • Using in-app browser tabs for user interaction, when available, such as Chrome Custom Tabs on Android, and SFSafariViewController on iOS.
  • Support for both custom scheme and [universal link][universal-link] / [app link][app-link] redirect URIs.
  • Support for PKCE, a standardized authorization code protection scheme.

The code is open source (Apache2) and are maintained by the OpenID Foundation.

Homepage: https://appauth.io/
Android library: https://github.com/openid/AppAuth-Android
iOS library: https://github.com/openid/AppAuth-iOS
JS library: https://github.com/openid/AppAuth-JS

188 questions
1
vote
1 answer

onActivityResult doesn't call for getting response in AppAuth library

I use AppAuth library(https://github.com/openid/AppAuth-Android) for oauth authorization code flow. I do everything step by step from the Read.me. Now I can see the login page but after login I will be transferred to redirect page and stay there and…
nazanin
  • 51
  • 6
1
vote
1 answer

Android app Crashing on password field for AppAuth Custom tab intent on Chrome browser(94.0.4606.80) only

After Opening Custom tab intent clicking on password field crashing application. And it is only crash if chrome browser version is (94.0.4606.80) I am using latest appauth lib implementation 'net.openid:appauth:0.10.0' android.view.InflateException:…
1
vote
1 answer

Android OAuth2 AppAuth library example in kotlin

I find difficulties in using AppAuth Library for android, I would appreciate anyone who can provide me a sample example in kotlin using AppAuth library
amir215909
  • 139
  • 8
1
vote
0 answers

Azure AD B2C: Sign in with apple "Sign-up not completed"

We are integrating Azure AD B2C with User Flows. We have followed the guid found here for implementation. On iOS side we are using AppAuth-iOS. Once we launch OIDAuthState We get a page authentication options i.e Facebook, Gmail, Apple and…
ibnetariq
  • 718
  • 1
  • 4
  • 20
1
vote
1 answer

Registering user with AppAuth

I am working with AppAuth to implement SSO in my app. I have implemented logging the user in with AppAuth and the Auth Intent. I am now looking at registering users via the AppAuth SDK. Does AppAuth support the registering of users? I appreciate…
DJ-DOO
  • 4,545
  • 15
  • 58
  • 98
1
vote
0 answers

Error android java.lang.RuntimeException: Failure delivering result ResultInfo

I'm using the AppAuth library and trying to open the google website and go back to my activity (baseActivity) that calls a webview. Basically i have a method that makes a call to open a webview page that i cannot put in the "OAuthJava" class, so I…
ramos jc
  • 205
  • 4
  • 13
1
vote
1 answer

Appauth : Authorization error: State mismatch, expecting in Swift iOS

I have Azure Sign up & login page. If I go to Sign in then it redirecting properly and Even If go sign up then also working. But I I click on Sign up and click on Login page then below error come. Authorization error: State mismatch, expecting…
Vitthal
  • 21
  • 3
1
vote
1 answer

AppAuth RedirectUriReceiverActivity not being catch

I'm new to Android and am trying to make an app authenticate using oauth2 on a website (in which I only can setup the integration, getting a ClientId and defining the redirect_uri). This website only allows Uris as a redirect. It does not allow a…
1
vote
2 answers

An error occurred while executing doInBackground() for keyclock authService.performTokenRequest() function

While integrating Keyclock SDK , I try to exchange authorization code to access token authService.performTokenRequest( resp.createTokenExchangeRequest(), new AuthorizationService.TokenResponseCallback() { @Override public void…
1
vote
0 answers

GoogleSignIn - Framework AppAuth not found SwiftUI

I am following the sign-in instruction from Google https://firebase.google.com/docs/auth/ios/google-signin#swift_5 However, I am having issues with Swift code. I kept getting this issue « Framework AppAuth not found ». I pod install GoogleSignIn and…
1
vote
1 answer

Is there a way to avoid conflict from using GoogleSignIn and AppAuth-iOS as static framework?

Our project use Carthage as dependency manager and use that to get AppAuth-iOS For GoogleSignIn, we download GoogleSignIn from Here and drag it to the project directly However, there is a conflict between AppAuth install via Carthage with AppAuth…
SaintTail
  • 6,160
  • 4
  • 31
  • 51
1
vote
2 answers

AppAuth-Android logout and end session

Apparently the IOS version of this library AppAuth supports logging out using the end_session_endpoint but with the android version you are forced to implement one or find an alternative way of logging the user out. Currently using the kotlin…
Chief
  • 854
  • 12
  • 27
1
vote
1 answer

ld: library not found for -lAppAuth

Facing this error on building a react-native project. I did not include this package on my own, but I think it came along Firebase. Have done all usual remedies like uninstall-re-install node modules, pod installs, pod updates but still no luck. Any…
1
vote
0 answers

AppAuth caching issue / universal link not caught when logging out quickly

On iOS 13.5 with the latest AppAuth (1.4.0), I have a weird caching / universal link issue with logging in through AppAuth, logging out and logging back in again. Based on the documentation, I first discover the configuration from the server with…
Raphael
  • 2,691
  • 1
  • 16
  • 21
1
vote
1 answer

Android Kotlin net.openid:appauth - capturing token after firing intent with getAuthorizationRequestIntent

I am trying to make sense on how to use android's AppAuth library based on the different examples that showcase different use cases of this library. I haven't managed to grasp what it requires for it to work. I also had a look at their docs my…
Chief
  • 854
  • 12
  • 27