Fix refreshing id token
Use static assert in closure.
Merge pull request #236 from ianbarber/master

Fix refreshing id token