Difference between revisions of "Token login for apps"
Jump to navigation
Jump to search
old>Admin (→renew) |
m (2 revisions imported) |
(No difference)
|
Latest revision as of 11:55, 10 December 2021
THIS PAGE IS UNDER DEVELOPMENT
Using the token service
The URL of the service is /token
The following parameters are supported
- create
- login
- redirect
- renew
For safety allways use HTTPS and only use POST method for transmitting the token
create
Returns a token that can be used for login.
https://site.acme.com/TempusServa/token?create
c8d10470f211c21794849ad0c3aab154
login
Creates a session for the user and redirects to the front page
https://site.acme.com/TempusServa/token?login=c8d10470f211c21794849ad0c3aab154
Directs to: https://site.acme.com/TempusServa/main
Additionally a custom page can be selected
https://site.acme.com/TempusServa/token?login=c8d10470f211c21794849ad0c3aab154&redirect=main?command=com.acme.tspages.CustomPage
Directs to: https://site.acme.com/TempusServa/main?command=com.acme.tspages.CustomPage
renew
Removes old token and creates a new one
https://site.acme.com/TempusServa/token?renew=c8d10470f211c21794849ad0c3aab154
098f6bcd4621d373cade4e832627b4f6
delete
Removes old token and creates a new one
https://site.acme.com/TempusServa/token?delete=c8d10470f211c21794849ad0c3aab154