smatter
smatter

Reputation: 29168

How to do SSO with Django and ReactJS?

I need to bootstrap a Django application with ReactJS. Authentication needs to work through Siteminder (SSO). How can ReactJS components know what user is authenticated? What are the common techniques for client side components to know the authenticated user, if any?

Upvotes: 2

Views: 330

Answers (1)

Renison Correya
Renison Correya

Reputation: 70

you can do so by using "authentication backends" available in Django. https://docs.djangoproject.com/en/3.1/topics/auth/customizing/#other-authentication-sources

You might have to make calls to API provided by your SSO provider to do a complete integration.

Upvotes: 0

Related Questions