Thank’s a lot. I’ve checked the settings again and changed the token endpoint authentication method from post to none and application type from regular page application to single page app. Now it works
1 Like