I have successfully setup Kong and KeyCloak using OIDC plugin. My frontend application has two types of users - Web Users and Mobile app users. I need to authenticate these users from different Realms.
- Web Users from - from Realm A
- Mobile app users from - from Realm B
E.g. if a request header of api call contains “Web” as channel in it is authenticated from Realm A.
and a request header of api call contains “Mobile” as channel in it is authenticated from Realm B.
I couldn’t find if OIDC support two realms. One Realm is working fine for me. Is there any way I can accomplish this?