Close browser window when acces token is saved to profile
Merging profile validation