GitHub user jonsnowseven created a discussion: External (Custom) Authentication 
Configuration

Hello all.

I wanted more information regarding [External Authentication 
Configuration](https://polaris.apache.org/releases/1.2.0/managing-security/external-idp/#external-authentication-configuration).
 If I understood correctly, the previous configuration assumes the claims come 
within the JWT token. On our use-case, this is not true: JWT only brings the 
identity (`sub`) and we use a different endpoint to get the claims.

Is it possible to extend this module with some custom logic? Is there an 
interface to do so?

Basically something like this:

```
<JWT token> -> Get sub -> Get claims calling another endpoint -> parse them 
into Polaris roles
```

Thanks in advance.

> [!NOTE]  
> **I did not find this (or similar) question in other discussions. I appolgize 
> in advance if this was already asked.**


GitHub link: https://github.com/apache/polaris/discussions/3420

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to