Ash FrameworkAF
Ash Framework4mo ago
3 replies
Shawn McCool

AshAuthentication and UserIdentity for Oauth / Scopes

I'm getting my head wrapped around the framework so I will ask some stupid questions, my apologies in advance.

I want to use google oauth / refresh tokens to have access to a user's google account in order to provider them services. I currently have AshAuthentication set up with google oauth strategy and it's immediately working. I did some searching for how to access and to specify the scopes. I found some resources about UserIdentity but I'm struggling to learn more about how to implement it.

I am still very much adapting to the mental model of the framework. But my question for you is.. what concept am I missing / why am I struggling to find resources to understand how to better implement UserIdentity. Of course my ignorance is 100% responsible for this. But I'm not currently seeing how I can learn these things on my own and I'd prefer not to bother you all every time I have a basic question.

It's also very easy for me to imagine that I need to set up oauth differently so that I have 2 implementations.. one for account sign in and one for the other requirements for my app.. I'm not sure that this is the right path though.

Please advise.
Was this page helpful?