Added exceptions for redirect URIs
Added checks for the redirect URI