Access Token Single sign Login


Problem : Single sign-on users unable to acess the Sana Platform APIs.

Solution: Intraduce the Personal Access Token feature

This feature is designed to help users who use Single Sign-On but can't access the Sana Platform APIs .

The problem arises because when you log in through Single Sign-On, user don't need to enter a password for the Platform portal.

This means these users can't use the "/api/v1/accounts/authentication-token" API to generate an "Access Token" and use other APIs.

 


Update Role permission> 

Personal Access Token > Manage Personal Access Token




When the new employee comes to the office, office will create a Microsoft login

Then if the person wants to access the Platform Portal,
platform admin will create an account on login to him



user  can activate the account by clicking email confirmation link.


after granting the permission ,usser able use the personal access token feature as folowing

  • Click Personal Access Token (under profile image)


  • Click Create Token> fill details > save
  • Copy User access Token.(token will only appier one time)

  • user can create multiple access tokens (currently 5 records)


when user tried more than 5 time to create accesstokern it will show folowing error. 


sesstion will expire 15 mins