Discussions
Obtain current Authenticated User from CF
about 1 year ago by Richard Matthews
What is the correct sequence of operations and API calls to obtain the current authenticated user?
In my specific scenario, I need to identify the customer accessing a course in order to deliver customised and personalised content via an iFrame embedded into the course page.
The content can be authorised via any of the following methods and supports users signing in by:
- Microsoft Entra ID
- Apple Sign in
- Facebook sign in
- GitHub, sign in
- Google, Sign in
- Twitter/X, Sign in
- OpenID Connect
While I can change the configuration of the flow such that our registered users are stored elsewhere and then regranted access into CF2.0, this is not ideal as we would be duplicate handling. I'd prefer the user authentication to be occurring where the asset is already granted, hence in CF2.0.