cloudflare / cloudflare-access-for-atlassian

Authenticate Atlasssian products when using Cloudflare Access
Other
45 stars 15 forks source link

Support multiple audiences in JWT & automate publish #91

Open felipebn opened 5 months ago

felipebn commented 5 months ago

This changes introduces the follow feature:

and the following project improvements:

Multiple audiences support

The plugin so far handled when the configuration had multiple audiences set but it was not expecting that the inbound CF Access JWT could have multiple audiences set. The change now checks that the intersection of the config and the JWT has at least one match.

The scenario this happens is when Access is configured using wildcard URLs.

Project improvements

Having the plugin packages generate as part of the PR build will allow for easy testing of the changes in a product instance. The same way automating the release creation in Github will allow to simplify the work to publish the plugin.

felipebn commented 5 months ago