pow-auth / assent

Multi-provider framework in Elixir
https://powauth.com
MIT License
406 stars 47 forks source link

Add support for multiple audiences with OIDC #113

Closed danschultzer closed 1 year ago

danschultzer commented 1 year ago

Resolves #111.

It's required to set a list of trusted audiences in the config:

config =  [
  client_id: "REPLACE_WITH_CLIENT_ID",
  site: "https://server.example.com",
  authorization_params: [scope: "user:read user:write"],
  trusted_audiences: ~w(aud1 aud2)
]