I found this in the reference Anvil | Reference
Also found a good OAuth example in the forum using Auth0