bad audience value

98 views
Skip to first unread message

Muhammad Asif

unread,
Jul 19, 2021, 10:30:59 AM7/19/21
to SMART on FHIR

Hello,

I have setup SMART Dev Sandbox (https://github.com/smart-on-fhir/smart-dev-sandbox). I'm launching our Smart app that is secured with KeyCloak. On launch getting error bad_audience (bad audience value).
i tried setting aud parameter value to to token/auth endpoints of SMART dev sandbox but error persists.

Can someone guide what exact value aud parameter needs to be?

Thank you


Evan Schnell

unread,
Feb 5, 2022, 1:47:12 PM2/5/22
to SMART on FHIR
I too am stuck on this error with keycloak.    

I added all the audience mappers recommended by the Keycloak documentation.  


This request:

Generates this redirect:  

Is there error legit?  error=invalid_request&error_description=Missing+aud+parameter&state=lWCpI8

The error is reported by launch.smarthealthit.org TO keycloak, not by keycloak.  

Has anyone been able to make this work with keycloak?  

Evan Schnell

unread,
Feb 5, 2022, 4:27:33 PM2/5/22
to SMART on FHIR
You can workaround the bad audience value by adding it directly to the Authorization URL in the admin console:    

Has anyone been able to connect KeyCloak to https://launch.smarthealthit.org/index.html ?
Reply all
Reply to author
Forward
0 new messages