Skip to content
This repository has been archived by the owner on Mar 8, 2021. It is now read-only.

How to provide user multiple authentication scheme for the same resource #119

Open
timur-han opened this issue Aug 14, 2014 · 1 comment

Comments

@timur-han
Copy link

Is it possible to enable different access workflows for the same resource?

I have multiple oauth workflows (https://github.com/ddellacosta/friend-oauth2) with different authorization authorities, e.g., google, facebook etc.

How could create such a setup using friend?

@cemerick
Copy link
Owner

cemerick commented Sep 9, 2014

The authenticate workflow's :workflows option takes a vector, so you can add any number of workflows to guard a ring handler (resource(s)). That seems obvious, so I think I perhaps haven't understood your question.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants