---
title: "Comment by ariel on \"Custom Authentication Scheme Part1\" | Hashnode"
description: "I want to start by saying how much I appreciate you sharing your expertise. After creating successfully the essential scripts, then changing the \"Authentication"
url: "https://hashnode.com/posts/custom-authentication-scheme-part1/63e2613897d3653d1d23ef8d/comment/6627d2d427c109963e8a3552"
---

[Discussion](https://hashnode.com/posts/custom-authentication-scheme-part1/63e2613897d3653d1d23ef8d)

Comment [Custom Authentication Scheme Part1](https://hashnode.com/posts/custom-authentication-scheme-part1/63e2613897d3653d1d23ef8d)

[ariel](https://hashnode.com/@lieradc)

[Apr 23, 2024](https://hashnode.com/posts/custom-authentication-scheme-part1/63e2613897d3653d1d23ef8d/comment/6627d2d427c109963e8a3552)

I want to start by saying how much I appreciate you sharing your expertise.  
After creating successfully the essential scripts, then changing the "Authentication Schemes" to Custom (My Auth) and login as the "admin" it popped up this message "You are not authorize to view this application, either because you have not been granted access, or your account has been locked..." "Access denied by Application security check". Is there anything I might have overlooked during the process? Please advise.

[Timo Herwix](https://hashnode.com/@timoherwix)

[Apr 24, 2024](https://hashnode.com/posts/custom-authentication-scheme-part1/63e2613897d3653d1d23ef8d/comment/6627d2d427c109963e8a3552#reply-6629337d4cd44cee83c55834)

Hey ariel, did you make sure that the new custom authentication scheme is set to "current"?

[ariel](https://hashnode.com/@lieradc)

[Apr 26, 2024](https://hashnode.com/posts/custom-authentication-scheme-part1/63e2613897d3653d1d23ef8d/comment/6627d2d427c109963e8a3552#reply-662b08344235ad5335779221)

Hey Tim, I'm grateful for your response. Anyway, yes, I set it as the "Current Scheme"
