Answer the question
In order to leave comments, you need to log in
`
SSO authentication in AD with javascript?
I have a url with parameters:
const locationHREF : string = `${authEndpoint}?scope=${scope}&response_type=${response_type}&client_id=${client_id}&redirect_uri=${redirect_uri}`;
'https://некий.урл/роут#access_token=eyJ4NXQ.eyJzdWIHNr.Wco270magWq&token_type=Bearer&expires_in=43599&session_state=4b774c'
Date.now() + (expires_in * 1000)
Answer the question
In order to leave comments, you need to log in
You are doing everything right. It is better to store all this data in local storage than in cookies. Therefore, do not worry)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question