You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am tyring to set up an authorize call, using serviceConfiguration to define authorization and token endpoints. I additionally want to send a header, but I've noticed that additionalHeaders only applies when on the first call to ./well-known/openid-configuration, and not to the subsequent call to /authorize
Is there any workaround for this to send a header in the authorization call?
Environment
Platform that you're experiencing the issue on: both
Your react-native Version: e.g. 0.74.5
Your react-native-app-auth Version: e.g. 8.0.0
Are you using Expo? No
The text was updated successfully, but these errors were encountered:
sarahmarkless
changed the title
AdditionalHeaders not applied when using serviceConfiguration
AdditionalHeaders not applied on authorize request
Nov 22, 2024
The additionalHeaders property applies to iOS devices only, and is passed to the AppAuth-iOS library directly. That library in turn uses it for authorization and token requests. The customHeaders property is similar, but for Android.
Could you tell me more about what headers you are having problems with and any error messages? What is the OAuth2 provider you are connecting to? Are those headers on the accept list for that provider?
Issue
I am tyring to set up an authorize call, using serviceConfiguration to define authorization and token endpoints. I additionally want to send a header, but I've noticed that additionalHeaders only applies when on the first call to
./well-known/openid-configuration
, and not to the subsequent call to/authorize
setup:
Is there any workaround for this to send a header in the authorization call?
Environment
both
react-native
Version:e.g. 0.74.5
react-native-app-auth
Version:e.g. 8.0.0
The text was updated successfully, but these errors were encountered: