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
0
votes
2 answers

Xamarin.iOS Keychain hangs when trying to query for a key storing NSData

I have an existing enterprise deployed application that uses OpenID Connect for authentication. Once authenticated, I store the AuthState object in the iOS keychain for security and to be able to sign the user in later with just Face/Touch ID (given…
Dmitry Samuylov
  • 1,554
  • 2
  • 14
  • 37
0
votes
1 answer

Customise SafariViewController with APPAUTH swift

I am learning ios development with swift and i am implementing Authentication using the appauth pod. My question would be : Is it possible to customise the safariviewcontroller used to login? Are there some samples with swift? Thanks
0
votes
1 answer

Authlib reports "Error trying to decode a non urlencoded string" when using android appauth and using multiple scope values

I am trying out Authlib. I have a working pyoidc backend and a test app using android appauth (modified from google codelabs tutorial). I reconfigured the android test app for the Authlib install on my local machine. Now I get this error when…
Miao Liu
  • 440
  • 4
  • 9
0
votes
0 answers

OfflineImap doesn't sync mail when refresh token is gotten from AppAuth in IOS

I am trying to sync my mails from gmail to my local server using OfflineImap v7.2.1. I followed this tutorial: Using Offlineimap with the Gmail IMAP API and got it working! Here is my .offlineimaprc file: [general] accounts = ExampleCompany …
SomeGuyFortune
  • 1,024
  • 13
  • 26
0
votes
2 answers

How to signout from an android app using azure adb2c and app- auth

I have used the following tutorial to integrate sign in for azure adb2c in my android app using appauth Android appauth. The tutorial no where mentions how to sign out of the app. Nothing is mentioned in the azure documentation regarding this as…
A.S
  • 798
  • 1
  • 10
  • 32
0
votes
1 answer

OpenID Connect + OKTA

I just set up our first OpenID connect apps in Okta, and assigned users don't see the app in the dashboard (though they are authenticating just fine) can i know why??. will openid app appear in the dashboard of okta. can any one help me. thanks
susmitha
  • 21
  • 4
0
votes
1 answer

AppAuth Android https scheme - work with Firefox and other browser?

I would like to know if AppAuth, with https scheme, works with Firefox and other browser. I have an CAS 5.2 act as an OAuth Idp, but the idp is not the problem so I won't post the setting here. I am trying to make a demo AppAuth app that can work…
Ng Sek Long
  • 4,233
  • 2
  • 31
  • 38
0
votes
1 answer

AppAuth Relogin

After some back and forth I finally got this to work but I had to use version 0.2.0 because I followed the google guide presented in the Readme. Anyway, Im struggling with handling what will happen when the oAuth token times out. Then it needs to…
MHopstad
  • 333
  • 2
  • 16
0
votes
1 answer

Athentication problems on iOS when using AppAuth and Okta

I have a simple iOS Swift app loosely based on the AppAuth-iOS example (https://github.com/openid/AppAuth-iOS) as well as Okta OAuth sample (https://github.com/oktadeveloper/okta-openidconnect-appauth-ios). I am not using Service Discovery nor…
Igor
  • 569
  • 5
  • 24
0
votes
1 answer

Facebook app domain Android

I keep getting the screen bellow when trying to use Facebook login. I'm trying to use AppAuth for Android ( https://github.com/openid/AppAuth-Android ) it mentions a domain URL but it is an Android app. Trying to use the OAuth2 specifications. Used…
0
votes
1 answer

Incorrect audience claim using AppAuth for iOS and Azure AD

I'm developing an iOS app which requires users to authenticate against an Azure AD (not B2C) and then use the JWT token to call a WebAPI. I'm using the AppAuth library: OIDAuthorizationService.discoverConfiguration(forDiscoveryURL: url) {…
Adam Young
  • 1,217
  • 10
  • 18
0
votes
1 answer

Google sign-in using AppAuth and cross-client identity

I am using AppAuth to implement google sign-in. The app could successfully authenticate. But I need an id_token for my server so that I can communicate with the my server from my app. For that I believe I need to include…
0
votes
1 answer

Chrome Custom Tabs not working

I am using the tutorial from CodeLabs and in an attempt to test my authorization at Step 8, I get a log info 06-13 14:15:42.053 3089-3089/com.google.codelabs.appauth I/AppAuth: Unable to bind custom tabs service and as such I am unable to see if…
Sweetie Anang
  • 332
  • 1
  • 3
  • 15
0
votes
0 answers

Android App Using AppAuth Demo by OpenId and 3rd Party OAuth2 Provider - response gets lost

I'm creating an Android App using Java in Android Studio that will need to use OAuth2 to communicate with a 3rd-Party provider (Furkot, mobile method) to gain authorization for subsequent API calls. Using Open Id's AppAuth demo application…
Becca
  • 23
  • 9
0
votes
1 answer

Trouble implementing login to Keycloak with AppAuth

I am trying to use the AppAuth example app to implement a login on my OAuth2 server (Keycloak). I am not sure on what to write in the .json file, specifically, in "authorization_endpoint_uri","token_endpoint_uri" and…
1 2 3
12
13