Ash FrameworkAF
Ash Framework2mo ago
1 reply
calico

How do you integrate WorkOS with ash_authentication?

Hello, I'm new to Phoenix and Ash and Elixir. I understand that this is not the place to ask about WorkOS but I'm wondering if anyone has tried integrating ash_authentication with WorkOS AuthKit?
For context, I'm building a phoenix app and would like to use WorkOS to manage my users and their organizations.

I have been trying the last couple of days building it with the oidc strategy but it hasn't been working very well. At some point, I was able to surface the Hosted AuthKit but I was unable to login and got hit with an id_token key not found in token params.

I have been trying again today with oauth2 but I can't help but feel that I'm looking at the problem wrong.

Is it impossible to integrate AuthKit with ash_authentication without building a custom Strategy?
Was this page helpful?