Skip to content

JWT token Implementation for OSM

Proposers

  • Bharath Vamsi (Tata Elxsi)
  • Deepika E (Tata Elxsi)
  • Jayaprakash G (Tata Elxsi)
  • Ramesh Ramanathan (Tata Elxsi)

Description

Currently in OSM when a user logs in with his credentials access token is generated and id of that token is a 32 bit randomly generated string. All the tokens generated are stored in MongoDB under tokens collection.

This feature is to Implement JWT Authentication for security and which doesn't require to store tokens data in MongoDB.

Demo or definition of done

When a user logs in, JWT should be generated and could access APIs with JWT