Token Management using Stormpath inside Mule

13
TOKEN MANAGEMENT USING STORMPATH IN MULE By Ravi Mishra

Transcript of Token Management using Stormpath inside Mule

Page 1: Token Management using Stormpath inside Mule

TOKEN MANAGEMENT USING STORMPATH IN MULEBy Ravi Mishra

Page 2: Token Management using Stormpath inside Mule

What is Stormpath

Stormpath is a hosted API service for creating and managing user accounts. It is the first easy and secure user management and authentication service for developers.

Below are the key advantages for using this.

• Easily implement token-based authentication.• Provide single sign-on across your applications.• Control of flexible and granular user authorization.• Partition multi-tenant SaaS account data.• Simplify social login with providers like Google and Facebook.• Manage developer API keys and access tokens.• Verify new users via email.• Automatically provide secure password reset functionality.• Centralize your user store across multiple applications.• Plug into your favourite language or web framework.

Page 3: Token Management using Stormpath inside Mule

Usage Of StormpathStormpath is a great match for applications of any size where security, speed, and simplicity are top priorities

• Easily implement token-based authentication.• Provide single sign-on across your applications.• Control of flexible and granular user authorization.• Partition multi-tenant SaaS account data.• Simplify social login with providers like Google and Facebook.• Manage developer API keys and access tokens.• Verify new users via email.• Automatically provide secure password reset functionality.• Centralize your user store across multiple applications.• Plug into your favorite language or web framework.

Page 4: Token Management using Stormpath inside Mule

Administrative ConsoleIf you see the below screen you will come to know what is API Key Id and secret.

Page 5: Token Management using Stormpath inside Mule

Understanding Stormpath ModelWhen you sign up for Stormpath, a private data space is created for you, which is represented as a Tenant resource in the Stormpath REST API. As a Stormpath customer, you own your Tenant resource and everything in it – Applications, Directories, Accounts, Groups, and so on.

• Application:- It contains information about any real-world software that communicates with Stormpath via REST APIs.

• Account:- Users are modelled inside Stormpath as Account. Every Account is unique within a Directory, with this uniqueness usually tied to an email address.

• Group:- A group is made up of Accounts found within a Directory. It can be thought of as a label applied to a set of Accounts.

• Directory:- It acts like a top-level container resource for your user base is a Directory.

Page 6: Token Management using Stormpath inside Mule

Administrative Console

Page 7: Token Management using Stormpath inside Mule

Contd.. (Application Console)

Page 8: Token Management using Stormpath inside Mule

Contd..(Accounts Console)

Page 9: Token Management using Stormpath inside Mule

Now Mule in picture• Mule is having an out of box connector which can be used

for administrative purposes. Based on our desired operation we have to provide configuration.

Page 10: Token Management using Stormpath inside Mule

Mule Flow for get Token

Page 11: Token Management using Stormpath inside Mule

Mule Flow for Retrieve Token

Page 12: Token Management using Stormpath inside Mule

Video link• You can click on the below link to see the practical mule

implementation of token management using Strompath.

• https://youtu.be/_oX7RFqY8js

Page 13: Token Management using Stormpath inside Mule

Thank You!!