Set a role to all user comming from a specific identity provider

Hello,

I was wondering if there is any way to set a default role to a user that is comming from a specific identity provider.

basically I want all my user from a database to have a role by default.

any idea ?