Github Desktop https clone fails but http works

Hi all,
Have created a gitlab personal access token to work over http.
When cloning copy and paste the gitlab repository location prefix with https does not work, get the typical ‘Authentication failed’ message.
If I use the same link but use http instead of https first time prompted to login and use the access token as the password the clone works.
From that moment on even if I use Visual Studio Code and Github Desktop I have to use http instead of https.
Assume it may be a config setting somewhere.
Any advice would be much appreciated.